A lightweight Python wrapper for the EcoleDirecte API. This library allows students to authenticate and retrieve data such as timetable, homework, grades, and school life information.
This project provides a simple Python interface to interact with the EcoleDirecte API.
It handles:
- Authentication
- Token management
- Data retrieval from multiple endpoints
The goal of this project is to simplify access to school data using clean and reusable Python code.
- Secure login using username and password
- Retrieve weekly timetable
- Retrieve homework
- Retrieve grades
- Retrieve school life information
- Retrieve cloud documents
- Python 3
- requests library
- JSON handling
- Object-Oriented Programming
Clone the repository:
git clone https://github.com/your-username/ecoledirecte-client.git
cd ecoledirecte-clientInstall dependencies:
pip install requestsfrom ecoledirect import EcoleDirect
client = EcoleDirect("username", "password")
timetable = client.getWT()
homework = client.getHW()
grades = client.getNotes()ecoledirect.py # Main API client
- Proper exception handling instead of print statements
- Add type hints everywhere
- Add unit tests
- Improve request payload formatting
- Package the project for PyPI
This project is not officially affiliated with EcoleDirecte. It is an independent implementation for educational purposes.
Jules GRIVOT PELISSON GitHub: https://github.com/Jules-GP