Fetches attendance details from PESUAcademy, provides real-time logs, and supports multiple SRN formats and mappings.
Download uv
uv run main.pycurl -X POST https://attendanceisallyouneed.vercel.app/api/attendance \
-H "Content-Type: application/json" \
-d '{"username": "PES2UG23CS001", "password": "your_password"}'Fork this repo, update frontend/web/mapping.json to open a PR.
- Open your Browser's Developer Tools: (Right-Click → Inspect Element /
F12/Ctrl+Shift+I) and go to the Network tab (show all requests). - Sign-in to PESUAcademy
- Open the attendance page and select your semester.
- Find the request to
/studentProfilePESUAdminand view it. - Look at your Payload/Request section, then look at form data for
controllerMode=6407&actionType=8&batchClassId=2660&menuId=660 - Note the
batchClassIdvalue (ex:2660), this is yourBATCH_CLASS_IDkey that you need to add tomapping.json - Optionally, add
SUBJECT_MAPPINGfor your subjects. - Save the changes to
frontend/web/mapping.jsonand submit a pull request.
Feel free to open issues and PRs for improvements and feature requests.