version number: 0.0.1 author: Pierre Geier
Python REST client for Plentymarkets REST API
clone the repo:
$ git clone https://github.com/bloodywing/plentyrest.git
$ python setup.py install
Just send pullrequests on github or open issues.
from plentyrest.rest import Plenty
plenty = Plenty('myshop.plentymarkets-cloud02.com', 'restuser', 'password')
items = plenty.request('rest/items') # lists your items
print(items)
plenty.request('rest/items', 'POST', json={
...
'variations': [
{
'name': 'Spam'
},
]
}