Open wilson13349315 opened 3 months ago
I created this PR (#18) to address this issue. I will wait for the developers to review it.
Greetings,
The last time that entsog-py worked correctly for me was in April.
Currently, when I try to load data (having built the following URL): https://transparency.entsog.eu/api/v1/operationaldatas?limit=10000&timeZone=UCT&from=2024-04-19&to=2024-04-20&periodType=day&offset=10000&indicator=Renomination,Physical+Flow
It produces the following error: equests.exceptions.HTTPError: 404 Client Error: Not Found for url:
Thank you.
Hi mate, you could get the correct data by removing "offset=10000", which has been out of date after the recent release from ENTSOG API. Hope this helps.
Issued a new release of the package, but I don't think it can be pushed anymore through actions. I haven't tested it myself as I don't really maintain this anymore, sorry for this.
@brunosanches feel free to fork and maintain if you want.
So, version 1.0.4 isn't as yet available?
Sorry, I found the source code, loaded it via pip.
However, it still shows version 1.0.4.
But it works!
Thanks.
raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://transparency.entsog.eu/api/v1/operationaldatas?limit=10000&timeZone=UCT&from=2024-05-27&to=2024-05-28&periodType=day&offset=10000&indicator=Physical+Flow
I assuem the error was caused by "offset=10000" statement