Skip to content

ashishkumar-tudip/python-demandware-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Demandware SDK

Description

Python Demandware SDK provides access to the OCAPI services. https://documentation.demandware.com/display/DOC131/Open+Commerce+API

Installation

$ pip install https://github.com/weareconflict/python-demandware-sdk/tarball/master

Basic usage

from dw.client import Demandware

# Set a config file
DW_API = {
    'client_id': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
    'hostname': 'changeme.demandware.net',
    'site': 'SiteGenesis',
    'version': 'v13_1',
}

# Instance a client
conn = Demandware(DW_API)

# Make an API call
product = conn.get_product('008884303989')
print product.name

Client ID

How to set client_id parameter

https://documentation.demandware.com/display/DOC133/Client+application+identification https://documentation.demandware.com/display/DOC133/Client+permissions

Contributors

Documentation

About

Python Demandware SDK provides access to the OCAPI services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages