Skip to main content

A Python API for PriceMinister WebServices

Project description

Shiba

Shiba is a Python package that provides interfaces to PriceMinister Web services. Currently, all features works with Python3.x. (3.6, 3.7, 3.8, 3.9)

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. Please refer to documentation for some information about testing options.

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!

Shiba : Python API for PriceMinister WebServices

Version 1.2.1

Released on November 24th 2022

  • Add importitemshippingstatus call

Version 1.2.0

Released on XXX 2021

  • Reformat code using black

  • Compatibility to python 3.9

  • Removes python 3.4, 3.5

Version 1.1.12

Released on November 19 2018

  • Fix utf8 py3 way

Version 1.1.11

Released on October 30 2018

  • Add python3.7 support

  • Drop support for python27 and python33

  • Fix documentation

  • Merge ‘bypass xmlcreation’ from tboulogne

  • Change endpoints to rakuten

Version 1.1.10

Released on February 21st 2017

  • Fix malformed xml

Version 1.1.9

Released on December 15th 2016

  • Used furl to manipulate URLs

Version 1.1.8

Released on December 14th 2016

  • Fix encoding in urlencode

Version 1.1.7

Released on November 08th 2016

  • Fix broken pypi package

Version 1.1.6

Released on August 10th 2016

  • Updated the webservices versions

Version 1.1.5

Released on July 21st 2016

  • Python 3 support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Shiba-1.2.1.tar.gz (78.0 kB view hashes)

Uploaded Source

Built Distribution

Shiba-1.2.1-py2.py3-none-any.whl (16.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page