Skip to main content

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.

Release files for pyberdrola 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyberdrola 0.0.12
File Size Uploaded
pyberdrola-0.0.12.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyberdrola 0.0.12
File Interpreter ABI Platform
pyberdrola-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / pyberdrola-0.0.12.tar.gz

Download URL pyberdrola-0.0.12.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
85e164a84284209628fddaedb38ad57b93a2e01d724c79f438988c747427b08c
BLAKE2b-256 checksum
How to use checksums
7b6b2a69ae6ed65dfd4b2545a9d9466c2c1e3abacc0cee41f1fd461b0e33abe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / pyberdrola-0.0.12-py3-none-any.whl

Download URL pyberdrola-0.0.12-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76a80dfc59f4e8ec45affaf7d32bf30146b87e7cea8a02346a2c00f3020a8306
BLAKE2b-256 checksum
How to use checksums
a5fe60957d024f2ba194cc5be5d27d84e18ea97a3088567ef2b8d5a92c0e4768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page