bakalari: ^0.3.3 copied to clipboard
Wrapper for Czech school system Bakaláři. Grants access to data that are not accessible by official app.
Bakaláři is Dart library that can be used for accessing Bakaweb API. Bakaláři (Bakaweb) is Czech school system. This library allows gathering information like grades, timetable, PMs, or homework.
This library is directly based on vakabus/pybakalib.
If you are at GitHub, the package can be found at pub.dartlang.org.
pubspec.yaml of your project and insert following line into dependencies section:
pub get and it should install automatically.
main.dart, insert this line:
Create some async method. Instantiate
Bakalari class and don't forget to log in (
Now, you can call methods like
.getGrades() on the instance.
There are two static methods that can be called without instantiating the library:
getListOfCitites which returns list of cities in which is at least one school using the Bakaláři system, and
getListOfSchools, which returns list of schools using the Bakáláři system in a city.
See example/main.dart for example code.
If you run into problems, create GitHub issue and I'll get into it as soon as possible.