MCPcopy Index your code
hub / github.com/EdupageAPI/edupage-api

github.com/EdupageAPI/edupage-api @0.12.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.12.4 ↗ · + Follow
228 symbols 851 edges 33 files 36 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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
from edupage_api.exceptions import BadCredentialsException, CaptchaException

edupage = Edupage()

try:
    edupage.login("Username", "Password", "Your school's subdomain")
except BadCredentialsException:
    print("Wrong username or password!")
except CaptchaException:
    print("Captcha required!")

Documentation

The docs are available here

I have a problem or an idea!

  • If you find any issue with this code, or it doesn't work please, let us know by opening an issue!
  • Feel free to suggest any other features! Just open an issue with the Feature Request tag.
  • If you, even better, have fixed the issue, added a new feature, or made something work better, please, open a pull request!

Discord

https://discord.gg/fg6zBu9ZAn

Core symbols most depended-on inside this repo

login_auto
called by 7
edupage_api/__init__.py
parse
called by 5
edupage_api/people.py
parse_int
called by 5
edupage_api/module.py
encode_form_data
called by 4
edupage_api/utils.py
get_id
called by 4
edupage_api/people.py
get_teachers
called by 4
edupage_api/people.py
get_user_id
called by 3
edupage_api/__init__.py
login
called by 3
edupage_api/login.py

Shape

Method 152
Class 72
Function 4

Languages

Python100%

Modules by API surface

edupage_api/__init__.py28 symbols
edupage_api/people.py22 symbols
edupage_api/dbi.py21 symbols
edupage_api/exceptions.py20 symbols
edupage_api/timetables.py17 symbols
edupage_api/utils.py15 symbols
edupage_api/module.py15 symbols
edupage_api/lunches.py13 symbols
edupage_api/login.py10 symbols
edupage_api/compression.py10 symbols
edupage_api/timeline.py8 symbols
edupage_api/substitution.py7 symbols

For agents

$ claude mcp add edupage-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact