diff options
author | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:39:26 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:39:26 +0100 |
commit | e4f40c884830d0da73703bc90c7e5011912b3c26 (patch) | |
tree | 2613deeb99f04a369e3c9e9b417ce05c69a212af /scripts/entsoe.py | |
parent | new systemd-service with some protections (diff) | |
download | energyscripts-e4f40c884830d0da73703bc90c7e5011912b3c26.tar.gz |
add comment about manual starttime
Diffstat (limited to 'scripts/entsoe.py')
-rw-r--r-- | scripts/entsoe.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/entsoe.py b/scripts/entsoe.py index 63308c2..b1d9270 100644 --- a/scripts/entsoe.py +++ b/scripts/entsoe.py @@ -31,6 +31,7 @@ apiUrl = "https://web-api.tp.entsoe.eu/api?securityToken=" + apiKey startTime = datetime.now(get_localzone()) - timedelta(days = 7) startTime = startTime.strftime('%Y%m%d') +#startTime = '20230523' # <- edit for manual starttime. Like when filling in missing info. endTime = datetime.now(get_localzone()) + timedelta(days = 1) endTime = endTime.strftime('%Y%m%d') |