This is python SDK for Tradenity ecommerce API. This SDK makes developing and building python ecommerce application really easy.
Install it using pip tool:
`pip install tradenity`
Or Add this line to your application's requirements.txt:
tradenity==1.0.1
And then execute:
`pip install -r requirements.txt`
from tradenity import Configuration
Configuration.API_KEY = 'sk_xxxxxxxxxxxxxxxxxxxxxxxx'
Category.find_all()
Detailed documentation can be found on our knowledge base site.
These libraries eases the integration between Tradenity SDK and the corresponding framework:
Django framework extension library.
Flask framework extension library.
We provide 2 sample applications, actually it is the same application implemented using 2 frameworks: Django
, and Flask
.
You can find live demo here:
Camera store sample application live demo
You can find the code at github:
We also provide a detailed explanation of the code of these sample applications in the form of a step by step tutorials:
Camera store for django tutorial.
Camera store for flask tutorial.
- Fork it ( https://github.com/tradenity/tradenity-python-sdk/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request