Skip to content
Python client library for the Tradenity E-Commerce API.
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
tests
tradenity
.gitignore
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.md
README.rst
requirements.txt
setup.cfg
setup.py
test-requirements.txt
tox.ini
tradenity-python-sdk.iml

README.md

Welcome to Python SDK for Tradenity ecommerce API!

This is python SDK for Tradenity ecommerce API. This SDK makes developing and building python ecommerce application really easy.

Installation

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`

Usage

Initialise the library with your store api key :

from tradenity import Configuration

Configuration.API_KEY = 'sk_xxxxxxxxxxxxxxxxxxxxxxxx'

Invoke the required method, for example to get a list of all the categories for that store:

Category.find_all()

Detailed documentation can be found on our knowledge base site.

Extensions for common Python frameworks

These libraries eases the integration between Tradenity SDK and the corresponding framework:

Django framework extension library.

Flask framework extension library.

Tutorials and sample applications

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:

Camera store for django code.

Camera store for flask code.

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.

Contributing

  1. Fork it ( https://github.com/tradenity/tradenity-python-sdk/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.