diff options
-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') |