Get level and speed from many French rivers (https://www.vigicrues.gouv.fr/)
The easiest way to install the library is using pip:
pip install pyvigicrues
You can also download the source code and install it manually:
cd /path/to/pyvigicrues/ python setup.py install
Print your current data
pyvigicrues -s <STATIONID> -t <TYPE OF DATA>
- Ex: pyvigicrues -s H523102501 -t H # for level
- Ex: pyvigicrues -s H523102501 -t Q # for speed
create virtual env and install requirements
virtualenv -p /usr/bin/python3.5 env pip install -r requirements.txt