1.0 KiB
1.0 KiB
Description
This tool can be used to retrieve informations from the site https://www.espace-citoyens.net/ used by some cities to manage their relationship with citizens. A quick search on Google shows that is used by:
- Rennes
- Vannes
- Brest
- Asnières sur Seine
Usage
Preparation of a virtual environment for the script:
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
deactivate
The to use the command:
source venv/bin/activate
./citoyen.py -h
deactivate
This will display the help.
source venv/bin/activate
./citoyen.py -l [login] -p [password] -C [city] -A
deactivate
This will test the authentication.
source venv/bin/activate
./citoyen.py -l [login] -p [password] -C [city] -L
deactivate
This will list the kind of reservations.
source venv/bin/activate
./citoyen.py -l [login] -p [password] -C [city] -D -i [index] -o file.ics
deactivate
This will dump the ith kind of reservation (in the order obtained by L command) into a ICS file.