From a9f0c732e7e9ff9b1a7fa6d4c1243a56e4d0f533 Mon Sep 17 00:00:00 2001 From: Henry-WattTime <36998861+Henry-WattTime@users.noreply.github.com> Date: Wed, 15 Dec 2021 10:09:52 -0800 Subject: [PATCH 1/2] added new function name --- query_apiv2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/query_apiv2.py b/query_apiv2.py index f603fee..dd6c347 100644 --- a/query_apiv2.py +++ b/query_apiv2.py @@ -119,7 +119,7 @@ def historical(token, ba): forecast_moer = forecast(token, BA) print(forecast_moer) -forecast_moer = forecast(token, BA, START, END) -print(forecast_moer) +forecast_moer_historical = forecast(token, BA, START, END) +print(forecast_moer_historical) -historical(token, BA) # Writes zip file to current ditectory +historical(token, BA) # Writes zip file to current directory From 2c93d86befc0e462a3f5f6553c3479f63292a630 Mon Sep 17 00:00:00 2001 From: Henry-WattTime <36998861+Henry-WattTime@users.noreply.github.com> Date: Wed, 15 Dec 2021 10:28:18 -0800 Subject: [PATCH 2/2] Spelling correction, change indent --- query_apiv2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query_apiv2.py b/query_apiv2.py index dd6c347..f31eb49 100644 --- a/query_apiv2.py +++ b/query_apiv2.py @@ -17,9 +17,9 @@ ORG = 'some org name' # request details - BA = 'CAISO_NORTH' # identify grid region +BA = 'CAISO_NORTH' # identify grid region -# starttime and endtime are optional, if ommited will return the latest value +# starttime and endtime are optional, if omitted will return the latest value START = '2020-03-01T00:00:00-0000' # UTC offset of 0 (PDT is -7, PST -8) END = '2020-03-01T00:45:00-0000'