Spaces:
Runtime error
Runtime error
Commit
•
9c6be0b
1
Parent(s):
35815fc
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -12,7 +12,7 @@ def get_weather_csv():
|
|
12 |
return requests.get(f'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/helsinki?unitGroup=metric&include=days&key=FYYH5HKD9558HBXD2D6KWXDGH&contentType=csv').csv()
|
13 |
|
14 |
def get_weather_json_quick(date):
|
15 |
-
return requests.get(f'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/
|
16 |
|
17 |
def get_air_quality_data():
|
18 |
|
|
|
12 |
return requests.get(f'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/helsinki?unitGroup=metric&include=days&key=FYYH5HKD9558HBXD2D6KWXDGH&contentType=csv').csv()
|
13 |
|
14 |
def get_weather_json_quick(date):
|
15 |
+
return requests.get(f'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/shanghai/{date}?unitGroup=metric&include=days&key=FYYH5HKD9558HBXD2D6KWXDGH&contentType=json').json()
|
16 |
|
17 |
def get_air_quality_data():
|
18 |
|