6 releases
new 0.2.3 | Feb 18, 2025 |
---|---|
0.2.2 | Feb 18, 2025 |
0.1.5 | Feb 12, 2025 |
#490 in Debugging
494 downloads per month
Used in rsfilc
44KB
904 lines
ekreta-rs: E-Kréta
api client in Rust
WIP: do expect breaking changes
E-Kréta
is an awful Hungarian electronic school administration system
API
-
serde
struct
bindings for following: -
school fetching
-
token
-
user info fetch
-
evaluations/grades
-
timetable
-
messages
- attachments
-
announced test
-
absences
-
classes/groups the user is a part of
Disclaimer
logging is enabled using the log
crate, mostly for requests in user.rs,
those requests/responses contain sensitive data, such as log::debug!("{token_json}");
.
It should be fine as long as you either:
- don't use a crate that logs: eg.:
env_logger
,log4rs
,fern
- don't enable
log::LevelFilter::Debug
or higher - don't store/share your/other's personal information without consent
Dependents
This library is written to provide bindings between Rust and the E-Kréta REST API.
It's primarily (and only at this time) used in RsFilc
.
Acknowledgements
The API was written based on these two documentations
-
nzx.hu/kreta-api, which is extremely helpful, and I'd especially like to thank it's the creator, for letting us know about this discord server, where csboo received help and written the new login API
-
the undescribably ugly json structs were converted to rust with this tool: transform.tools
Dependencies
~9–16MB
~207K SLoC