Change to https. (#7277)

* Change to https.

* Revert the py_tf file.
This commit is contained in:
Sagar Giri
2022-10-16 16:43:29 +09:00
committed by GitHub
parent 04698538d8
commit e7b6d2824a
12 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
import requests
APPID = "" # <-- Put your OpenWeatherMap appid here!
URL_BASE = "http://api.openweathermap.org/data/2.5/"
URL_BASE = "https://api.openweathermap.org/data/2.5/"
def current_weather(q: str = "Chicago", appid: str = APPID) -> dict: