diff --git a/Chapitre 3 - Modularité/requettes.py b/Chapitre 3 - Modularité/requettes.py new file mode 100644 index 0000000..e09b364 --- /dev/null +++ b/Chapitre 3 - Modularité/requettes.py @@ -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())