This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

API esios ree
#17
Hello
I have continued investigating and with some changes.
In the URL I have put a filter so that it only shows the data of mainland Spain, in this way the rest of the territories are not shown.
Code:
curl "https://api.esios.ree.es/indicators/1001?&geo_ids[]=8741" -X GET \
    -H "Accept: application/json; application/vnd.esios-api-v1+json" \
    -H "Content-Type: application/json" \
    -H "Host: api.esios.ree.es" \
    -H "Authorization: Token token=\"TOKEN ESIOS\"" \
    -H "Cookie: "\

Although the registry remains at the value [23] ... without showing it, the data is and agrees with the values shown by the ESIOS on its website.
This makes me think that the registry in Wiser has a limit when it comes to representing the data, even if they exist, is this for something in particular?
So the questions in the previous post have answered themselves.
1. The two strings are concatenated without problems.
2. the long name still does not appear but the rest of the data is after the ... shown in the registry.
Now I have a new problem, it is assumed that ESIOS updates its data at around 8:16 p.m. every day, on its website the tariff values are already displayed from 00 today 16 until 00 tomorrow 17.
But the API call returns the values of 16 and not 17, I understand that this will be up to the API and not the script.
However, I think that it would be necessary to include a mechanism that ensures that the data has been updated using the values_updated_at field.

Greetings.
P.S. I leave the previous post unchanged in case it is useful to someone.
Reply


Messages In This Thread
API esios ree - by JoseJimenez94 - 02.03.2020, 10:00
RE: API esios ree - by admin - 02.03.2020, 10:03
RE: API esios ree - by JoseJimenez94 - 02.03.2020, 11:06
RE: API esios ree - by admin - 02.03.2020, 11:13
RE: API esios ree - by admin - 02.03.2020, 13:54
RE: API esios ree - by JoseJimenez94 - 02.03.2020, 15:47
RE: API esios ree - by esteve.budia - 15.05.2020, 12:45
RE: API esios ree - by JRP - 02.09.2020, 17:24
RE: API esios ree - by admin - 03.09.2020, 06:29
RE: API esios ree - by JRP - 03.09.2020, 08:08
RE: API esios ree - by admin - 03.09.2020, 08:25
RE: API esios ree - by JRP - 03.09.2020, 08:34
RE: API esios ree - by admin - 03.09.2020, 08:36
RE: API esios ree - by JRP - 03.09.2020, 08:40
RE: API esios ree - by JRP - 10.09.2020, 10:44
RE: API esios ree - by JRP - 16.06.2021, 16:52
RE: API esios ree - by JRP - 16.06.2021, 19:01
RE: API esios ree - by admin - 18.06.2021, 05:27
RE: API esios ree - by JRP - 21.06.2021, 14:50
RE: API esios ree - by JRP - 23.06.2021, 09:20
RE: API esios ree - by admin - 23.06.2021, 09:21
RE: API esios ree - by JRP - 23.06.2021, 10:59
RE: API esios ree - by jose_dli - 16.02.2023, 08:01
RE: API esios ree - by admin - 16.02.2023, 12:54
RE: API esios ree - by jose_dli - 16.02.2023, 14:33
RE: API esios ree - by admin - 16.02.2023, 14:37
RE: API esios ree - by admin - 17.02.2023, 09:25
RE: API esios ree - by jose_dli - 17.02.2023, 11:57
RE: API esios ree - by jose_dli - 21.02.2023, 13:10

Forum Jump: