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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pesuacademy-0.0.1.tar.gz.

File metadata

  • Download URL: pesuacademy-0.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for pesuacademy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3459020365b7189294cfa42ce98dc2f3727dd4cedf5b1451f3db347a2fab671c
MD5 bc9e44ee0b52899d7f29dd6a9c292fc5
BLAKE2b-256 bd8df1835350e25403df691dfdf147eff3b6701e6ddc8a2765e754604d0aef46

See more details on using hashes here.

File details

Details for the file pesuacademy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pesuacademy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for pesuacademy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af5ff3d3a667d74381bd929d88e93be57a5b0ab58ff33e7b524b410332c0f69d
MD5 332bfc25df3ff78cca84da054b120957
BLAKE2b-256 8d48657a3121e229f5560f062ea8033685df524203d00fefbd2216c42630f08f

See more details on using hashes here.

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