This is a sample application for Tradenity ecommerce API using the Python SDK with Flask to build ecommerce web application
This sample application is free and opensource, we encourage you to fork it and use it as a base for your future applications.
To run it on your local machine:
- Python 2.7
Choose one of the following:
- Download the source code.
- Clone
git clone [email protected]:tradenity/camerastore-python-flask-sample.git
- Fork this repository
Open main.py, modify this line:
Configuration.API_KEY = 'sk_xxxxxxxxxxxxxxxxx'
to reflect your store's API key
If you configured your store to use stripe for payment processing, then edit this line:
STRIPE_PUBLIC_KEY = 'pk_xxxxxxxxxxxxxxxxxxxxxxxxxx'
to reflect your public key.
pip install -r requirements.txt
python main.py
Refer to this tutorial on our knowledge base for full explanation of the source code