diff --git a/query_apiv2.py b/query_apiv2.py index f603fee..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' @@ -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