This tool is used to check the availabilities to pass the car exam at Geneva. It was developed because the waiting time to the next exam session is too long (sometimes 6 months). The hack works like following:
- Book the exam for the next available date => https://ge.ch/cari-online/examensPublic
- Schedule this tool (e.g. every hour) and it will find an availability on an desired date (see params).
- When a schedule is found, you will receive a notification on your smartphone (wirepusher).
- Book manually the exam on desired date
Install wirepusher on your smartphone to receive notifications. http://wirepusher.com/
Install requirements for the python script:
pip install -U selenium
python -m pip install requests
I use the following versions of chrome and chromedriver:
- Chrome version 91
- Chrome Driver version 91
python run.py noReg dateOfBirth fromDate endDate wirepusher_id
- noReg : is your people number (used to authenticate)
- dateOfBirth : your date of birth (used to authenticate)
- fromDate : the start date of your desired dates
- endDate : the end date of your desired dates
- wirepusher_id : the id of wirepusher (app to install on your smartphone) to send notification
- Be able to send notifications on ios, it seems that wirepusher is not available on ios.
- Dockerize? the application to can be scheduled on a cloud. Like a serveless app with lower costs.