From 80c91de0f9e9d4f05fa7728858de2fc772b677bd Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sun, 19 Mar 2023 15:15:46 +0100 Subject: entsoe has new api-url --- scripts/entsoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entsoe.py b/scripts/entsoe.py index 4a136af..63308c2 100644 --- a/scripts/entsoe.py +++ b/scripts/entsoe.py @@ -27,7 +27,7 @@ import common apiKey = os.environ['el_entsoe_token'] # https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html -apiUrl = "https://transparency.entsoe.eu/api?securityToken=" + apiKey +apiUrl = "https://web-api.tp.entsoe.eu/api?securityToken=" + apiKey startTime = datetime.now(get_localzone()) - timedelta(days = 7) startTime = startTime.strftime('%Y%m%d') -- cgit v1.2.3