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"