Robot for checking ICBC road test appointments.
Use the package manager pip to install dependences.
pip install PyYAML requests
Create the yaml file ./config.yml
icbc:
drvrLastName: "YOUR_LAST_NAME"
licenceNumber: "YOUR_LICENCE_NUMBER"
keyword: "KEYWORD"
expactAfterDate: "2022-02-01" #YYYY-MM-DD
expactBeforeDate: "2022-04-01" #YYYY-MM-DD
expactAfterTime: "09:00" #HH:MM
expactBeforeTime: "11:30" #HH:MM
examClass: 5 #5/7
gmail:
sender_address: "SENDER_EMAIL@gmail.com"
sender_pass: "YOUR_EMAIL_PASSWORD"
receiver_address: "RECEIVER_EMAIL@gmail.com"
For now, it only support getting the appointments in Point Grey
point_grey = {
"aPosID": 9,
"examType": examClass+"-R-1",
"examDate": expactAfterDate,
"ignoreReserveTime": "false",
"prfDaysOfWeek": "[0,1,2,3,4,5,6]",
"prfPartsOfDay": "[0,1]",
"lastName": lastName,
"licenseNumber": licenceNumber
}
Location | posID |
---|---|
Richmond claim centre (Elmbridge Way) | 273 |
Richmond driver licensing (Lansdowne Centre mall) | 93 |
Vancouver driver licensing (Point Grey) | 9 |
Vancouver claim centre (Kingsway) | 275 |
Burnaby claim centre (Wayburne Drive) | 274 |
Surrey driver licensing | 11 |
Newton claim centre (68 Avenue) | 271 |
Surrey claim centre (152A St.) | 269 |
North Vancouver driver licensing | 8 |
Feel free to contribute.
- Able to change location (Now: only Point Grey)
- Able to choose Day of week