aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-03-19 15:15:46 +0100
committerDennis Eriksen <d@ennis.no>2023-03-19 15:15:46 +0100
commit80c91de0f9e9d4f05fa7728858de2fc772b677bd (patch)
tree2b603a52277002fb1424916a60674c7a67d95edf
parentupdating schema (diff)
downloadenergyscripts-80c91de0f9e9d4f05fa7728858de2fc772b677bd.tar.gz
entsoe has new api-url
-rw-r--r--scripts/entsoe.py2
1 files changed, 1 insertions, 1 deletions
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')