A python library for accessing your Edupage account
Project description
edupage-api
This python library allows easy access to EduPage. This is not a Selenium web scraper. It makes requests directly to EduPage's endpoints and parses the HTML document.
If you find any issue with this code, it doesn't work, or you have a suggestion, please, let me know by opening an issue!
If you, even better, have fixed the issue, added a new feature, or made something work better, please, open a pull request!
Installing
You can install this library with pip:
pip install edupage-api
Usage
Login
You can log in easily, 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
Hosted
The docs are available on yesdaddyfuck.me/edupage-api
Host it yourself locally
To learn display the documentation for this library, you can run: python -m http.server --directory docs
.
Then a local webpage will be served on http://127.0.0.1:8000.
I have a problem or an idea!
Feel free to suggest any other features! Just open an issue with the Feature Request tag.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for edupage_api-0.9.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d5cfe56ef87d8368e41038e2f0ee6f73fff5925f0e837f67d1316cecf13bda |
|
MD5 | 6f5ae90f91675800346569d1beda534c |
|
BLAKE2b-256 | 3214a45dbff005c816753fb0b1a2d5344e6d7c5d1914373246570c09ccfcda21 |