Untis
📚 Unofficial Elixir wrapper for the Untis Mobile and WebUntis API 📐
Installation
The package can be installed
by adding untis to your list of dependencies in mix.exs:
def deps do
[
{:untis, "~> 1.0.0"}
]
endThe documentation can be found at https://hexdocs.pm/untis.
Example
# Most requests require a valid login.
Untis.Auth.JsonAuth.login("max.mustermann", "2W9ZNXI472JLVH63", "test-school")
today = Date.utc_today()
Untis.timetable_student(
420,
Date.beginning_of_week(today),
Date.beginning_of_week(today)
|> Date.add(5)
)Legal
I am not affiliated with Untis GmbH. Use this at your own risk.