Skip to content

Commit 92f200f

Browse files
authored
Update openweathermap API version
1 parent f2ec1a2 commit 92f200f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

06_weather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def f(i):
1313

1414
config = yaml.load(open('config.yaml'), yaml.Loader)['openWeather']
1515

16-
resp = requests.get('https://api.openweathermap.org/data/2.5/onecall', params={
16+
resp = requests.get('https://api.openweathermap.org/data/3.0/onecall', params={
1717
'appid': config['apiKey'],
1818
'lat': config['coordinates']['latitude'],
1919
'lon': config['coordinates']['longitude'],

0 commit comments

Comments
 (0)