mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-05-12 01:10:24 -05:00
Mistyped an API link resulting in a 401 fixed
This commit is contained in:
parent
a8e58857cb
commit
06912658bd
@ -21,7 +21,7 @@ for i in MPC.getPrimaryLocations():
|
||||
apiKey = "21d8a80b3d6b444998a80b3d6b1449d3"
|
||||
|
||||
def getData(coopId, geocode):
|
||||
fetchUrl = f"https://api.weather.com/indices/heatCool/daypart/7day?geocode={geocode}&language=en-US&format=xml&apiKey={apiKey}"
|
||||
fetchUrl = f"https://api.weather.com/v2/indices/heatCool/daypart/7day?geocode={geocode}&language=en-US&format=xml&apiKey={apiKey}"
|
||||
|
||||
res = requests.get(fetchUrl)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user