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

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.12.3.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edupage_api-0.12.3-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file edupage_api-0.12.3.tar.gz.

File metadata

  • Download URL: edupage_api-0.12.3.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for edupage_api-0.12.3.tar.gz
Algorithm Hash digest
SHA256 38af063b5f129918aa69e61153f2c8162d78e3144d68bb506c85561f6f7a014c
MD5 dca738d81943fc01e9373c1cce80ce6a
BLAKE2b-256 b3032561ecad7391f2c9f329cc659cdd6ccafb4623ea0c8eabc6f77e8a7073a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for edupage_api-0.12.3.tar.gz:

Publisher: python-publish.yml on EdupageAPI/edupage-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edupage_api-0.12.3-py3-none-any.whl.

File metadata

  • Download URL: edupage_api-0.12.3-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for edupage_api-0.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3be2127ba1cac8bc7e73f90fffa8498f3219e3e3fd11d1e80e8b82af5c33f1e7
MD5 2f5778e22996e399acd876ca22d80952
BLAKE2b-256 9a1da7760cf4e5f6f053074ab0aa72eeaa948d63def53c0bc22ce0f19e07240c

See more details on using hashes here.

Provenance

The following attestation bundles were made for edupage_api-0.12.3-py3-none-any.whl:

Publisher: python-publish.yml on EdupageAPI/edupage-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page