Python API Client for Whiplash
Python Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
tests
whiplash
.editorconfig
.gitignore
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.rst
requirements_dev.txt
runtests.py
setup.cfg
setup.py
travis_pypi_setup.py

README.rst

Whiplash API Python Client

Python API Client for the whiplash API

Features

  • Add Items
  • Manage Orders
  • Manage Ship Notices

Installation

pip install whiplash

Example

Create a new Item

from whiplash import Whiplash

# Not for production
whiplash = Whiplash('Hc2BHTn3bcrwyPooyYTP', test=True)

product1 = whiplash.item.create(
    title='Apple iPhone 5',
    sku='A1429',
    group_id='iPhone 5',
)
print product1.title
print product1.id
print product1.currency