ekreta

Crates.ioekreta
lib.rsekreta
version0.3.10
created_at2025-02-10 20:27:21.213996+00
updated_at2025-09-04 15:23:03.012449+00
descriptionE-Kréta API
homepage
repositoryhttps://codeberg.org/jark/rsfilc
max_upload_size
id1550650
size67,453
Jeromos Kovács (jarjk)

documentation

https://docs.rs/ekreta

README

ekreta-rs: E-Kréta api client in Rust

Magyar README

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 account.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

Secret weapons

  • if you'd like to introduce a bug (in some cases, feature in others: see rsfilc, when one would like to explicitly use the cache), which would make this crate unable to access the internet, export an env variable like following: one-time thing: NO_NET=1 <BINARY, eg.: rsfilc>
  • NO_RENAME=1 can be used to turn off renaming

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 documentations

Commit count: 0

cargo fmt