Skip to main content

A python library for accessing your Edupage account

Project description

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!

  • 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

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

edupage_api-0.10.8.tar.gz (36.7 kB view hashes)

Uploaded Source

Built Distribution

edupage_api-0.10.8-py3-none-any.whl (42.5 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