Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pyberdrola
.flake8
.gitignore
LICENSE
Makefile
README.md
cli.py
requirements-dev.txt
requirements.txt
setup.py

README.md

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.

You can’t perform that action at this time.