PythonCdiscount is a small wrapper around the Cdiscount Products API.
Requirements
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
Installation
pip install pycdiscount
Example Use
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.
Questions, Comments, etc?
Feel free to hit me up at the following:
Metadata
Release files for pycdiscount 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycdiscount-0.3.5.tar.gz | 15.7 kB | Without provenance | Details for pycdiscount-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycdiscount-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for pycdiscount-0.3.5-py3-none-any.whl |
Total release size: 20.5 kB
Release files / pycdiscount-0.3.5.tar.gz
| Download URL | pycdiscount-0.3.5.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed56ff8bbabf13512ea0cb3bdff19dbb870ed2b9ae145b08febc147cf944aaad
|
|
BLAKE2b-256 checksum How to use checksums |
0a2cbe9948bcc5602760d8362f10b72c27ba4310080c6819ff52a53431a0643c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pycdiscount-0.3.5-py3-none-any.whl
| Download URL | pycdiscount-0.3.5-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40a25327f19b08233acb088e1798b61faa97a8081aaa6da13871366054ee5332
|
|
BLAKE2b-256 checksum How to use checksums |
e20bb6a0c837df8bbb32a1acd58673f58c42d03e39ccc0f2001ece5512f82177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pycdiscount 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.