Python Demandware SDK ========
Python Demandware SDK provides access to the OCAPI services. https://documentation.demandware.com/display/DOC131/Open+Commerce+API
$ pip install https://github.com/weareconflict/python-demandware-sdk/tarball/master
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
How to set client_id parameter
https://documentation.demandware.com/display/DOC133/Client+application+identification https://documentation.demandware.com/display/DOC133/Client+permissions
- Moises Brenes <https://github.com/gin>
- Conflict <https://github.com/weareconflict>