Skip to main content

A simple Python Wrapper for CDiscount API using Requests.

Project description

PythonCdiscount is a small wrapper around the Cdiscount Products API.


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 :


pip install pycdiscount

Example Use

from pycdiscount import PyCdiscount
app = PyCdiscount(api_key="YOUR API KEY")
searchresult ="Iphone")

All results are returned in JSON format. If you want to show them in the console, I suggest you use the pprint module.

Questions, Comments, etc?

Feel free to hit me up at the following:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycdiscount, version 0.3.5
Filename, size File type Python version Upload date Hashes
Filename, size pycdiscount-0.3.5-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pycdiscount-0.3.5.tar.gz (15.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page