Skip to content

Commit 9fd67ca

Browse files
authored
Add files via upload
1 parent a8c42b0 commit 9fd67ca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

api.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import request
2+
3+
api_key = "d6eadc22b196c4f48c9ac3d7f8647869"
4+
url = "https://api.openweathermap.org/data/2.5/weather"
5+
6+
city = input("sisesya linn")
7+
8+
params = {
9+
"appid:" api_key,
10+
}
11+
12+
request.get(url,city)

0 commit comments

Comments
 (0)