Unofficial API interface to the smartschool system.
Project description
Smartschool parser
Unofficial interpreter to interface against smartschool's website.
How to use?
Copy the credentials.yml.example
file to credentials.yml
and adjust the contents with the username/password and school uri.
from smartschool import SmartSchool, PathCredentials, Courses
SmartSchool.start(PathCredentials())
for course in Courses():
print(course.name)
Implemented:
- AgendaLessons
- AgendaHours
- AgendaMomentInfos
- TopNavCourses
- Courses
- FutureTasks
- Periods
- Results
- StudentSupportLinks
- MessageHeaders
- Message
- Attachments
- MarkMessageUnread
- AdjustMessageLabel
- MessageMoveToArchive
- MessageMoveToTrash
Contributing?
To get started (I always use mamba/conda to create an environment)
git clone https://github.com/svaningelgem/smartschool.git
cd smartschool
mamba create -n smartschool python=3.11
mamba activate smartschool
pip install poetry
poetry install
Now you can start contributing.
To run the test suite:
poetry run pytest
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
smartschool-0.1.9.tar.gz
(30.3 kB
view details)
Built Distribution
File details
Details for the file smartschool-0.1.9.tar.gz
.
File metadata
- Download URL: smartschool-0.1.9.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed9e3dc3bfc4f03b7228e964c0919d089fa0d40a5e9ecd98e04fd13000b8237 |
|
MD5 | 6ba21507f13e49769edb95fd75c352f0 |
|
BLAKE2b-256 | fe06c79eb576abd3e0351bf22058e08ab3345ff5fbd99a5a9379f53e63329f93 |
File details
Details for the file smartschool-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: smartschool-0.1.9-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d11c9030b35fdab65d068d8e20c20928a4cb0ddf0d7c3e3475cddb74f11ec6 |
|
MD5 | ea8090f8f6345a61b34d679206cf3366 |
|
BLAKE2b-256 | 4d60f074058b8144235ada45c3b647bbb288ac7c2f78f07feccfd5c35156c113 |