Spaces:
Runtime error
Runtime error
Commit
•
a81da8d
1
Parent(s):
9c6be0b
Update functions.py
Browse files- functions.py +1 -4
functions.py
CHANGED
@@ -8,11 +8,8 @@ import json
|
|
8 |
|
9 |
|
10 |
|
11 |
-
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 |
|
|
|
8 |
|
9 |
|
10 |
|
|
|
|
|
|
|
11 |
def get_weather_json_quick(date):
|
12 |
+
return requests.get(f'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/helsinki/{date}?unitGroup=metric&include=days&key=J7TT2WGMUNNHD8JBEDXAJJXB2&contentType=json').json()
|
13 |
|
14 |
def get_air_quality_data():
|
15 |
|