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.2.0.tar.gz
(30.3 kB
view details)
Built Distribution
File details
Details for the file smartschool-0.2.0.tar.gz
.
File metadata
- Download URL: smartschool-0.2.0.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-18-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb98b116ddb7c5ee09a9a89f8ccd713efb5813a592f53d0c25d7d5ee076dd575 |
|
MD5 | 3b1c869d56e319b956e8c5545c392f23 |
|
BLAKE2b-256 | ac87149629d5fb0a8a190cfd70d9df1ae34aabd41f87eae76b57012df1f17878 |
File details
Details for the file smartschool-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: smartschool-0.2.0-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-18-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ab772352b7878361de06f085f49dc68222312d1437a7bed2b79e6211403aed |
|
MD5 | 1e33c579b4672ef2c1c989a4da052f38 |
|
BLAKE2b-256 | a8c215fc74c48f2ae56ebc56e2494cf2f4551dc68eeeaf5676d535d6d593b1de |