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.
Other community projects
- Package that allows reading data from Czech school system Bakaláři. This unofficial library grants access to data that may be locked in the official app - for example all grades weights.
This library contains class definitions for
bakalarilibrary. You need this to be able to use classes used by
bakalarilibrary whitout too much hassle. Just import it and let autocomplete do it's magic.