Spaces:
Running
Running
Update weather.py
Browse files- weather.py +2 -2
weather.py
CHANGED
@@ -11,8 +11,8 @@ load_dotenv()
|
|
11 |
|
12 |
def get_weather(city, date):
|
13 |
|
14 |
-
agro_api_key=88aaa872e29fedb008a2ffd240ebdf56
|
15 |
-
opencage_api_key=bade196e8eac4d33b72dba6d9e40285a
|
16 |
|
17 |
# On récupère les lat et lon de la ville
|
18 |
geocode_url = f"https://api.opencagedata.com/geocode/v1/json?q={city}&key={opencage_api_key}"
|
|
|
11 |
|
12 |
def get_weather(city, date):
|
13 |
|
14 |
+
agro_api_key='88aaa872e29fedb008a2ffd240ebdf56'
|
15 |
+
opencage_api_key='bade196e8eac4d33b72dba6d9e40285a'
|
16 |
|
17 |
# On récupère les lat et lon de la ville
|
18 |
geocode_url = f"https://api.opencagedata.com/geocode/v1/json?q={city}&key={opencage_api_key}"
|