Script en python para descargar datos de un servicio web
pip install pandas
echo 'export PATH=$PATH:$HOME/GetDataWS/' >> /home/cloudera/.bashrc
source $HOME/.bashrc
get_data.sh \
--dir data \
--item ListaEESSPrecio \
--timestamp \
--clean \
https://sedeaplicaciones.minetur.gob.es/ServiciosRESTCarburantes/PreciosCarburantes/EstacionesTerrestres/
get_data.sh \
--name ccaa \
--dir data \
--format csv \
--header \
https://sedeaplicaciones.minetur.gob.es/ServiciosRESTCarburantes/PreciosCarburantes/Listados/ComunidadesAutonomas/
requests
pip istall requests