Skip to main content

Python wrapper and APIs for the PESU Academy website

Project description

PESU Academy API

Python wrapper and APIs for the PESU Academy website.

The wrapper requires the user's credentials to authenticate and provide read-only access to all the pages and information accessible on the PESU Academy website. Without the credentials, the wrapper will only be able to fetch details from the Know Your Class and Section page.

:warning: Warning: This is not an official API and is not endorsed by PESU. Use at your own risk.

Installation

Installing from pip

pip install pesuacademy

Installing from source

git clone https://github.com/HackerSpace-PESU/pesuacademy-py
cd pesuacademy-py
python setup.py install

Usage

from pesuacademy import PESUAcademy

p = PESUAcademy("PRN_or_SRN", "password")
profile = p.profile()
courses = p.courses(semester=2)
attendance = p.attendance()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pesuacademy-0.0.1.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

pesuacademy-0.0.1-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page