Visitar URL original
Add files via upload · realpython/python-scripts@fec7ec2 · GitHub
Skip to content

Commit fec7ec2

Browse files
authored
Add files via upload
1 parent 4390fc7 commit fec7ec2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎weather_request.py‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
api_key = "2d76fdaa7e7b3f369a9010894092ada4"
2+
url = "https://api.openweathermap.org/data/2.5/weather"
3+
4+
city = input("Put your link")
5+
6+
params = {
7+
"IPs":api_key,S
8+
}
9+
request.get(url,city)

0 commit comments

Comments
 (0)