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.

Source Distribution

pyberdrola-0.0.12.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

pyberdrola-0.0.12-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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