Python Flipkart Marketplace API Client
Project description
Python Flipkart Marketplace API Client
Free software: BSD license
Documentation: https://python-flipkart.readthedocs.org.
Installing
From PYPI:
$ pip install python-flipkart
From source code (advanced users and for development):
$ git clone https://github.com/fulfilio/python-flipkart-api.git
$ cd python-flipkart-api
$ python setup.py install
Example Usage
from flipkart import FlipkartAPI, Authentication
auth = Authentication('app id', 'app secret', sandbox=True)
token = auth.get_token_from_client_credentials()
flipkart = FlipkartAPI(token['access_token'], sandbox=True, debug=True)
orders = flipkart.search_orders()
Getting Access Token
If you have registered an application with your seller credentials and would like to access resources in your account, you could use the application id and secret alone to do so. The authentication helper in the API gives you a convenient way to get tokens
from auth import Authentication
auth = Authentication(
'<application id>',
'<application secret>',
sandbox=True, # If you are using sandbox
)
auth.get_token_from_client_credentials()
Features
TODO
History
0.1.0 (2015-01-11)
First release on PyPI.
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.
Source Distribution
python-flipkart-0.1.2.tar.gz
(16.1 kB
view hashes)