We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcb504e commit 27d3ed5Copy full SHA for 27d3ed5
1 file changed
PyPortal_AlarmClock/code.py
@@ -27,7 +27,7 @@
27
import displayio
28
29
# Set up where we'll be fetching data from
30
-DATA_SOURCE = 'http://api.openweathermap.org/data/2.5/weather?q='+secrets['weather_location']
+DATA_SOURCE = 'http://api.openweathermap.org/data/2.5/weather?id='+secrets['city_id']
31
DATA_SOURCE += '&appid='+secrets['openweather_token']
32
# You'll need to get a token from openweather.org, looks like 'b6907d289e10d714a6e88b30761fae22'
33
DATA_LOCATION = []
0 commit comments