6 lines
184 B
Python
6 lines
184 B
Python
import requests
|
|
import json
|
|
url = 'https://api.openweathermap.org/data/2.5/weather'
|
|
reponse = requests.get(url+'?q=Paris&appid=0001aa32345d1df47456f64b45f8170b')
|
|
print(reponse.json())
|