A simple Python Wrapper for CDiscount API using Requests.
PythonCdiscount requires Requests, an elegant and simple HTTP library for Python, built for human beings.
You also need a Cdiscount API key, which you can get from here : https://dev.cdiscount.com
pip install pycdiscount
from pycdiscount import PyCdiscount app = PyCdiscount(api_key="YOUR API KEY") searchresult = app.search("Iphone")
All results are returned in JSON format. If you want to show them in the console, I suggest you use the pprint module.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pycdiscount-0.3.5-py3-none-any.whl