Last active
January 28, 2019 10:51
-
-
Save codemee/9426cb198e13597d9943f1e4e5976e47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res = urequests.get( # API 網址 | |
"https://api.openweathermap.org/data/2.5/weather?" + | |
"q=" + "Taipei" + ",TW" + # 指定城市與國別 | |
"&units=metric&lang=zh_tw&" + # 使用攝氏單位 | |
"appid=" + # 以下填入註冊後取得的 API key | |
".....................") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment