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.4.tar.gz (38.6 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.4-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edupage_api-0.12.4.tar.gz
  • Upload date:
  • Size: 38.6 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.4.tar.gz
Algorithm Hash digest
SHA256 9d9ddbc6d0b1034b67f430bbf5e4f81da1dc588f08282a91853e4ba5b62eaa28
MD5 373827acac57a2784ad4ebbbd2a175a6
BLAKE2b-256 b0e097bf89f2ec97b825a587a9d43d8b58e18225e54b0d49ed703f244029362b

See more details on using hashes here.

Provenance

The following attestation bundles were made for edupage_api-0.12.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: edupage_api-0.12.4-py3-none-any.whl
  • Upload date:
  • Size: 45.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85c1eaded0bbd185ef90ef1c416e8d328c9fb7c6589b34573c2f78fb5b229332
MD5 785083d6b087759662abb9d510c23791
BLAKE2b-256 7c21092fe9aa22d55d701fd3b8b6bfeb3370da79cc6bbc49480729d91e6b002c

See more details on using hashes here.

Provenance

The following attestation bundles were made for edupage_api-0.12.4-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