Je suis capable de récupéré du data au format json a l'aide d'un script python que j'ai trouver icihttps://pypi.python.org/pypi/pyhydroquebec/1.2.0 et dont je remercie l'auteur au passage,
ça ressemble a cela:
Code : Tout sélectionner
pi@DomoticzTestUbuntu:~/.local/bin$ ./pyhydroquebec -u USER -p PASSWORD -j
{"306908741": {"yesterday_lower_price_consumption": 108.2, "period_average_temperature": 15, "period_total_days": 61, "yesterday_average_temperature": 18, "yesterday_higher_price_consumption": 0, "period_length": 0, "period_total_consumption": 6600, "period_higher_price_consumption": 0, "period_mean_daily_consumption": 108.2, "yesterday_total_consumption": 108.2, "period_total_bill": 633.64, "balance": 633.64, "period_lower_price_consumption": 6600, "period_mean_daily_bill": 10.39}}Merci d'avance.
Vic