Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PESU Attendance Tracker

Fetches attendance details from PESUAcademy, provides real-time logs, and supports multiple SRN formats and mappings.

Setup

python3 -m venv .venv
source .venv/bin/activate  # On Windows use `venv\Scripts\activate`
pip install --upgrade pip
pip install -r requirements.txt

Running the Application

python3 main.py

Adding your branch

Update the mapping.json file and open a PR

  • Log in to PESUAcademy.
  • Open the developer tools by right-clicking on the page and selecting Inspect Element (Hotkey: F12 or CTRL+SHIFT+I).
  • Navigate to the Network tab and filter for all requests.
  • Go to the attendance page and select your semester.
  • Look for a network request to /studentProfilePESUAdmin and click on it.
  • In the Payload or Request tab, locate the form data.
    • It should look like: controllerMode=6407&actionType=8&batchClassId=2660&menuId=660
    • The batchClassId value 2660 is what you need to for your BATCH_CLASS_ID key
  • Define your SUBJECT_MAPPING in key-value pairs based on your subjects.

Contributions

Feel free to open issues and PRs for improvements and feature requests.

About

"To attend, or not to attend—that is the question"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages