From 8c811883465dd165675575b263549dcadaf0831a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihae=C4=BCs=20Mejerovs?= Date: Wed, 22 May 2024 17:07:49 +0000 Subject: [PATCH] Update flsk.py --- flsk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flsk.py b/flsk.py index b4a97bc..2ff162f 100644 --- a/flsk.py +++ b/flsk.py @@ -103,7 +103,7 @@ if __name__ == "__main__": def get_weather_in_riga(): - api_key = "ВАШ_КЛЮЧ" + api_key = "e53814d3c7b076180e8d0273015b2804" city_id = 456173 # ID города Рига url = f"https://api.openweathermap.org/data/2.5/weather?id={city_id}&appid={api_key}&units=metric"