Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.