Checks the Western Australia Department of Transport website for available Practical Driving Assessment (PDA) bookings.
- Install Chrome
- Install requirements with:
python -m pip install -r requirements.txt
- Copy
config-example.py
toconfig.py
- Fill in your personal information in
config.py
- Run the script with
python driving_test.py
If there is a test available, "Driving test available at: location" will be printed to the screen.
If there is no test available the script will exit silently
This can be accomplished easily using cron.
For example, this cron job checks every 5 minutes for a test and emails you if one is available:
MAILTO=myemail@example.com
*/5 * * * * python /path/to/driving_test.py
Please do not hesitate to open an issue on Github, or send me an email at: me@tomdougiamas.com
I would love to help you get a test booked.