Skip to main content

Get your consumption data from your Enedis account (

Project description Requirements Status

Get your consumption data from your Enedis account (

In order to use the library, you need an account on You need to create a Data Connect Application and as of May 2020 you will get your client_id by mail and your client_secret by SMS after a week or so… With these credentials, you can only access the Sandbox environment… You need to sign a contract and probably wait more to get Production credentials…

The library uses requests and requests_oauthlib to cope with the OAuth 2.0 protocol. It uses an AbstractAuth class to let a developer override the refresh token function and route it via their own external service. It also let the storage of the token between sessions to the developer.


The easiest way to install the library is using pip:

pip install pylinky

You can also download the source code and install it manually:

cd /path/to/pylinky/
python install


Print your current data

pylinky -c <client_id> -s <client_secret> -u <redirect_url>

Dev env

create virtual env and install requirements

virtualenv -p /usr/bin/python3.5 env pip install -r requirements.txt

Project details

Download files

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

Source Distribution

pylinky-0.5.0.tar.gz (7.0 kB view hashes)

Uploaded source

Built Distributions

pylinky-0.5.0-py3.6.egg (8.4 kB view hashes)

Uploaded 3 6

pylinky-0.5.0-py3.5.egg (8.4 kB view hashes)

Uploaded 3 5

pylinky-0.5.0-py3-none-any.whl (12.9 kB view hashes)

Uploaded py3

Supported by

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