EdupageAPI / edupage-api

A python library for accessing your Edupage account
https://edupageapi.github.io/edupage-api/
GNU General Public License v3.0
66 stars 13 forks source link
api edupage edupage-org hacktoberfest homework library python-library school students timetable

edupage-api · Current version on PyPI Supported Python versions PyPI - Downloads CodeFactor

This Python library allows easy access to EduPage. It's not a Selenium web scraper. It makes requests directly to EduPage's endpoints and parses the HTML document.

Installing

Warning: Requires Python >= 3.9!

You can install this library using pip:

pip install edupage-api

Usage

Login

You can log in easily, it works with any school:

from edupage_api import Edupage

edupage = Edupage()

try:
    edupage.login("Username", "Password", "Your school's subdomain")
except BadCredentialsException:
    print("Wrong username or password!")
except LoginDataParsingException:
    print("Try again or open an issue!")

Documentation

The docs are available here

I have a problem or an idea!

Discord

https://discord.gg/fg6zBu9ZAn