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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pyberdrola-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a80dfc59f4e8ec45affaf7d32bf30146b87e7cea8a02346a2c00f3020a8306 |
|
MD5 | c4f41965154197cbd71e4cc68a58ab59 |
|
BLAKE2b-256 | a5fe60957d024f2ba194cc5be5d27d84e18ea97a3088567ef2b8d5a92c0e4768 |