An open API service indexing awesome lists of open source software.

https://github.com/polarhive/attend

"To attend, or not to attend—that is the question"
https://github.com/polarhive/attend

api beautifulsoup bot pesu render telegram-bot university

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# PESU Attendance Tracker

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

## Setup

```sh
python -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

```sh
python main.py
```

## Adding your branch

Update the `mapping.json` file and open a PR

- Log in to [PESUAcademy](https://www.pesuacademy.com/Academy/s/studentProfilePESU).
- 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.