Sapda
No description available
Install / Use
/learn @TedjaSatedji/SapdaREADME
SPADA Automatic Attendance Script (Work in Progress)
Easily automate your SPADA attendance process with this selenium script.
Getting Started
1. Install Dependencies
- Install the dependencies using pip:
pip install -r requirements.txt
2. Add Your Credentials
- Create a new
.envfile in the project root. - Add the following variables:
SPADA_USERNAME=your_username SPADA_PASSWORD=your_password TELEGRAM_TOKEN=your_telegram_bot_token TELEGRAM_CHAT_ID=your_telegram_chat_id
3. Add Your Schedule
-
Create a CSV file (e.g.,
schedule.csv) with the following format:| CourseName | Day | Time | |---------------------------|---------|----------------| | Data Science Basics | Senin | 08:15 - 10:00 | | Web Development | Selasa | 13:00 - 15:30 | | Cloud Computing | Kamis | 09:45 - 11:15 | | Machine Learning Intro | Jumat | 10:30 - 12:00 |
CSV Example:
CourseName,Day,Time Data Science Basics,Senin,08:15 - 10:00 Web Development,Selasa,13:00 - 15:30 Cloud Computing,Kamis,09:45 - 11:15 Machine Learning Intro,Jumat,10:30 - 12:00 -
Place the CSV file in the root folder of the project.
4. Telegram Notifications
This script can send notifications to your Telegram account using a bot.
To enable this:
- Create a Telegram bot and get the bot token.
- Get your chat ID (you can use @userinfobot on Telegram).
- Add
TELEGRAM_TOKENandTELEGRAM_CHAT_IDto your.envfile as shown above. - The script will send messages for attendance status and errors.
Note:
This project is still under development. Contributions and feedback are welcome!
