diff options
author | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:44:44 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:44:44 +0100 |
commit | 3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2 (patch) | |
tree | b7f4559cf252a32990f5e462dc09b2a9ad23c9b4 /scripts/elvia_gridtariff.py | |
parent | add comment about manual starttime (diff) | |
download | energyscripts-3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2.tar.gz |
adding linting with ruff
Diffstat (limited to 'scripts/elvia_gridtariff.py')
-rw-r--r-- | scripts/elvia_gridtariff.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/elvia_gridtariff.py b/scripts/elvia_gridtariff.py index 43f1940..720336b 100644 --- a/scripts/elvia_gridtariff.py +++ b/scripts/elvia_gridtariff.py @@ -3,12 +3,11 @@ import os import sys -from datetime import datetime -from datetime import timedelta -from tzlocal import get_localzone -import requests +from datetime import datetime, timedelta import common +import requests +from tzlocal import get_localzone # API documentation: https://elvia.portal.azure-api.net/docs/services/gridtariffapi/operations/post-digin-api-v-tariffquery-meteringpointsgridtariffs? |