Skip to main content

Datadis API client

Project description

Datadis

Python client for https://datadis.es

MIT License Semantic Release PyPI - Downloads Quality Gate Status

Installation

From PyPi

pip install datadis

Usage/Examples

from datadis import get_token, get_supplies

token = get_token('username', 'password')

supplies = get_supplies(token)

#[
#    {
#        "address": "home",
#        "cups": "1234ABC",
#        "postalCode": "1024",
#        "province": "madrid",
#        "municipality": "madrid",
#        "distributor": "Energy",
#        "validDateFrom": "2020/09",
#        "validDateTo": "2021/09",
#        "pointType": 0,
#        "distributorCode": "2"
#    }
#]

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

datadis-0.7.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

datadis-0.7.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file datadis-0.7.2.tar.gz.

File metadata

  • Download URL: datadis-0.7.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for datadis-0.7.2.tar.gz
Algorithm Hash digest
SHA256 6b453807ba7b23403afbf2f4131adced71e6cc6965b36238ef2b6d4d05513959
MD5 b82a0a95666423dadb14bb4636b65ed7
BLAKE2b-256 3767fdce19aca943294070e89874b683d931e3f3a0a3bb4c0bd75a068079cbfd

See more details on using hashes here.

File details

Details for the file datadis-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: datadis-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for datadis-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca73d151ccb4b735cc02127399b05b5945038b778165c0ae9d42c99d1316318e
MD5 d4f7672157046bcde7faf45ca3e89d91
BLAKE2b-256 2816f451bf2cb7354cb120cd82c2c2a79be7c57965a3509c49f0f74543b30f4e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page