diff options
author | Dennis Eriksen <d@ennis.no> | 2023-03-19 15:15:46 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-03-19 15:15:46 +0100 |
commit | 80c91de0f9e9d4f05fa7728858de2fc772b677bd (patch) | |
tree | 2b603a52277002fb1424916a60674c7a67d95edf | |
parent | updating schema (diff) | |
download | energyscripts-80c91de0f9e9d4f05fa7728858de2fc772b677bd.tar.gz |
entsoe has new api-url
-rw-r--r-- | scripts/entsoe.py | 2 |
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') |