jlopez77 / python-niber

I-DE unofficial API access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

niber

I-DE daily data scrapper

Poorly coded proof of concept on scrapping daily consumption data from Iberdrola I-DE website. As I-DE API is blocked to automated querys with a catpcha, creative methods are needed.

This code will require dependencies like geckodriver, selenium and others not (yet) described here. Use at your own risk.

Part of this code is borrowed from https://github.com/hectorespert/python-oligo/tree/master/oligo

fast usage:

from niber import niber
connection = niber()
connection.login("username@mail.com","password")
watt = connection.watthourmeter()
print(watt)
consumo = connection.consumption()
print(consumo)

About

I-DE unofficial API access

License:MIT License


Languages

Language:Python 100.0%