Hi @ooii
Thanks for this library, super useful! Actually found it through Home Assistant integrations :)
I got an error when trying to pull my data: Oct. 1st, no data yet. I've added debug lines and it looks like Suez's website returns a 500 when there is no data to show.
It ends the process to return data of previous months.
$ pysuez -u EMAIL -p PASSWORD -c ID
Request URL: https://www.toutsurmoneau.fr/mon-compte-en-ligne/statJData/2020/10/ID
Response HTTP code: <Response [500]>
Issue with this month data
I know it's a bug on Suez's website, but I think the library should handle those error cases.
Happy to help and to create a PR! :)
Cheers!
Hi @ooii
Thanks for this library, super useful! Actually found it through Home Assistant integrations :)
I got an error when trying to pull my data: Oct. 1st, no data yet. I've added debug lines and it looks like Suez's website returns a 500 when there is no data to show.
It ends the process to return data of previous months.
I know it's a bug on Suez's website, but I think the library should handle those error cases.
Happy to help and to create a PR! :)
Cheers!