edupage-api · 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.
Warning: Requires Python >= 3.9!
You can install this library using pip:
pip install edupage-api
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!")
The docs are available here
https://discord.gg/fg6zBu9ZAn
$ claude mcp add edupage-api \
-- python -m otcore.mcp_server <graph>