Fix request URL for MosquitoActivity record

This commit is contained in:
April
2022-10-21 22:39:09 -07:00
parent a45db0afb7
commit 0db804a31a
2 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ for i in MPC.getPrimaryLocations():
apiKey = "21d8a80b3d6b444998a80b3d6b1449d3"
def getData(coopId, geocode):
fetchUrl = f"https://api.weather.com/v2/indices/mosquito/daypart/7day?geocode={geocode}&language=en-US&format=xml&apiKey={apiKey}"
fetchUrl = f"https://api.weather.com/v2/indices/mosquito/daily/7day?geocode={geocode}&language=en-US&format=xml&apiKey={apiKey}"
res = requests.get(fetchUrl)