Automation script for checking into iZone classes.
-
Install Google Chrome
-
Install a ChromeDriver that is compatible with your Chrome browser, then extract the ZIP file and copy the
chromedriver.exe
file to your/drivers
directory -
Update your py launcher to the latest version
py -m ensurepip --upgrade
- Update your pip package installer to the latest version
py -m pip install --upgrade pip
- Install
python-dotenv
andselenium
modules
pip install python-dotenv
pip install selenium
- Create a
.env
file with the following contents
STUDENT_ID=<YOUR STUDENT ID HERE>
PASSWORD=<YOUR IZONE PASSWORD HERE>
- Run the script and pass the iCheckIn code as an argument. Example: iCheckIn code = 12345
python main.py 12345
Create a simple terminal script and run it from your desktop to shave down even more time!
cd "path\to\iCheckIn" # Change this to the path of your iCheckIn directory
$code = Read-Host -Prompt "Enter iCheckIn code"
Write-Host "Checking in with code $code..."
python main.py $code
#!/bin/bash
cd /path/to/iCheckIn # Change this to the path of your iCheckIn directory
read -p "Enter iCheckIn code: " code
echo "Checking in with code $code..."
python3 main.py "$code"
View the open issues for a full list of proposed features and known bugs.
Credits to Rachel Lim Wei Hui for the original script.