Skip to main content

Python wrapper for the enet Marktpartner API

Project description

enetpy

Python wrapper for the ene't Marktpartner API

Setup

Install the package:

pip install enetpy

Make sure to set the authentication token in your production environment.

export ENET_AUTH_TOKEN='****'

Testing

The API wrapper comes with a testing stub. To use it set your test environment to:

export ENET_TESTING_STUB=1

Usage

>>> from enet import api
>>> api.get_gas_grid_operator_for_address(
...     zip_code='10115',
...     city='Berlin',
...     street='Brunnenstr.',
...     house_number='153'
... )
GasGridOperator(vnbg_nr=107851, title='NBB Netzgesellschaft Berlin-Brandenburg mbH & Co. KG', email='netzzugang@nbb-netzgesellschaft.de', contact_name='Herr Cornelius Baumann', phone_number='030/81876-1382', fax_number='', gas_type='H-Gas')

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 enetpy, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size enetpy-1.0.0.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page