A Python API for PriceMinister WebServices
Project description
shiba 1.1.1
Released: 11-Sep-2014
Last release: 24-Sep-2014
Introduction
Shiba is a Python package that provides interfaces to PriceMinister Web services. Currently, all features works with Python 2.7.
Shiba supports all the Web services introduced by the PriceMinister developper blog.
The goal of Shiba is to provide PriceMinister active buyers/sellers an easy way to do their daily tasks for a good management of their account.
Installation
Install via pip:
$ pip install shiba
Install from source:
$ git clone git://github.com/shibaAPI/shiba.git $ cd shiba $ python setup.py install
Quick starting with Shiba
Import the shibaconnection module first, then the module(s) you wish to work with.
Instance the ShibaConnection class with your credentials, then instance the other modules with the newly created ShibaConnection instance.
You’re good to go!
Example:
from Shiba.shibaconnection import ShibaConnection from Shiba.salesmanagement import SalesManagement connection = ShibaConnection("mylogin", "mytoken") sales = SalesManagement(connection) newsales = sales.get_new_sales()
Testing Shiba
Shiba comes with its bunch of tests. Update the shiba/Tests/assets/nosetests.cfg with your PriceMinister credentials then run nosetests from the main package directory. 30 online tests must be OK (online obviously means you need a fully working internet connection).
Documentation
Documentation is available on GitHub pages.
Extra documentation from the PriceMinister developper blog might be useful.
Feel free to comment, report bugs, or even contribute!
Thank you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.