API REQUEST

This commit is contained in:
Tipragot 2023-11-08 11:26:32 +01:00
parent cabf456282
commit 48914849c2
No known key found for this signature in database

View file

@ -0,0 +1,5 @@
import requests
import json
url = 'https://api.openweathermap.org/data/2.5/weather'
reponse = requests.get(url+'?q=Paris&appid=0001aa32345d1df47456f64b45f8170b')
print(reponse.json())