Repository navigation
Need help with framing the URL string #137
Unanswered
thomsonian2023
asked this question in
Q&A
Replies: 1 comment
|
2023-12-31 is not a valid SCED timestamp. It must be in the format "yyyy-MM-ddTH24:mm:ss" |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a working example with the following url structure (response code is 200):
url1 = fr"""https://api.ercot.com/api/public-reports/archive/NP4-732-CD?download=1013211671"""
But I am unable to make it work for the following url (response code is 404):
url2 = fr"""https://api.ercot.com/api/public-reports/archive/np6-86-cd/shdw_prices_bnd_trns_const?SCEDTimestampFrom=2023-09-01&SCEDTimestampTo=2023-12-31"""
What I am doing incorrect in url2 ?
Above url is being used in the folllowing below.
df1 = requests.get(url1, headers=headers)
All reactions