Skip to main content

A client to use www.iberdrola.es from the terminal

Project description

pyberdrola

pyberdrola allows to get info and invoices about the electric consumption.

This info is obtained from the www.iberdrola.es using the same APIs that iOS app is using, but in an easy way.

Installation

pyberdrola is available at pypi, so you can install it using pip3 (it requires Python3).

pip3 install pyberdrola

Using pyberdrola

pyberdrola requires two variables (IBUSER and IBPASS) to be able to log in.

 # the same that you're using to login in https://www.iberdrola.es/
export IBUSER='your_username'
export IBPASS='your_pass'

After that, you can use the CLI:

# Show a list of all your invoices (date, consumption and price)
pyberdrola all

# Show info about your last invoice
pyberdrola last

# Show the help menu
pyberdrola --help

License

Read the LICENSE file.

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 pyberdrola, version 0.0.12
Filename, size File type Python version Upload date Hashes
Filename, size pyberdrola-0.0.12-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyberdrola-0.0.12.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

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