Commencé à tester la lecture d'un gros flux JSON. Le problème est que le JSON est plus grand que la taille de la RAM. Mais les tests sont bons
This commit is contained in:
25
Meteo/README.md
Normal file
25
Meteo/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Récupération des prévisions météo sur un web service sur Internet
|
||||
|
||||
|
||||
## Sources
|
||||
|
||||
Pour Lausanne
|
||||
|
||||
https://www.prevision-meteo.ch/services/json/lausanne
|
||||
|
||||
##Documentation
|
||||
|
||||
https://www.prevision-meteo.ch/services
|
||||
|
||||
https://www.prevision-meteo.ch/uploads/pdf/recuperation-donnees-meteo.pdf
|
||||
|
||||
## Simulateur
|
||||
./web_server.sh
|
||||
|
||||
Lecture sur le PC du simulateur pour tests:
|
||||
|
||||
http://localhost:8080/meteo.lausanne.190302.1231.json
|
||||
|
||||
|
||||
|
||||
zf190302.1655
|
||||
9
Meteo/web_server.sh
Executable file
9
Meteo/web_server.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Petit serveur WEB hyper simple
|
||||
#zf190302.1640
|
||||
|
||||
#pour python 2.x
|
||||
python -m SimpleHTTPServer 8080
|
||||
|
||||
#pour python 3.3
|
||||
#python3 -m http.server 8080
|
||||
Reference in New Issue
Block a user