Metadata-Version: 2.0
Name: pycdiscount
Version: 0.3.5
Summary: A simple Python Wrapper for CDiscount API using Requests.
Home-page: https://github.com/wblondel/PythonCdiscountWrapper
Author: William Gerald Blondel
Author-email: contact@williamblondel.fr
License: GNU GPL
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Requires-Dist: requests

PythonCdiscount
===============

PythonCdiscount is a small wrapper around the `Cdiscount <https://cdiscount.com>`__ `Products
API <https://dev.cdiscount.com/home>`__.

Requirements
------------

PythonCdiscount requires Requests, an elegant and simple HTTP library for Python, built for human
beings.

    http://docs.python-requests.org/

You also need a Cdiscount API key, which you can get from here : https://dev.cdiscount.com

Installation
------------

::

    pip install pycdiscount

Example Use
-----------

.. code:: python

    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.

    https://docs.python.org/3/library/pprint.html

Questions, Comments, etc?
-------------------------

Feel free to hit me up at the following:

| GitHub: https://github.com/wblondel
| Twitter: http://twitter.com/wgblondel
| Email: contact@williamblondel.fr


