Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mexico (MX): Source for forecasted and net generation #6566

Open
VIKTORVAV99 opened this issue Mar 20, 2024 · 0 comments
Open

Mexico (MX): Source for forecasted and net generation #6566

VIKTORVAV99 opened this issue Mar 20, 2024 · 0 comments
Labels
data Issues or PRs relating to underlying data. parser buildable! All required data has been found, parser only need to be built

Comments

@VIKTORVAV99
Copy link
Member

VIKTORVAV99 commented Mar 20, 2024

Hey there!

Just found out not long ago about this project, and I think I might have some good news!

Going through the previously mentioned website I was able to find a new URL that just so happens to have an AJAX endpoint that outputs clean JSON data for hourly reports here.

According to the filtering available on the script that generates the table, changing the parameter "gerencia" even outputs different regions, and I was able to successfully extract data using the following cURL command:

curl -X POST "https://www.cenace.gob.mx/GraficaDemanda.aspx/obtieneValoresTotal" -H "Content-Type: application/json; charset=utf-8" -d '{"gerencia":"10"}'

Where "gerencia" is 10 as the default (national) value.

Would this be enough to integrate into the service?

Originally posted by @ToasterDEV in #1242 (comment)

There is data we can use here for both the net generation and forecasted net generation. This would remove our need to rely on estimations based on the demand for Mexico.

@VIKTORVAV99 VIKTORVAV99 added parser buildable! All required data has been found, parser only need to be built data Issues or PRs relating to underlying data. labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Issues or PRs relating to underlying data. parser buildable! All required data has been found, parser only need to be built
Projects
None yet
Development

No branches or pull requests

1 participant