mashov_api 0.5.1 mashov_api: ^0.5.1 copied to clipboard
The Mashov API - for Flutter. This is a dart API for the [Mashov (for students)](https://www.mashov.info/), to be used in a Mashov app.
Mashov Api #
...What is this thing? #
The Mashov (students) API - for flutter.
Where do I get started? #
First of all, get yourself a nice Api Controller
to your code:
var controller = MashovApi.getController();
Next, get the list of schools:
var schoolsResult = await controller.getSchools();
if(schoolsResult.isSucess) {
var schools = schoolsResult.value;
}
Now, you can pick your school and log in with it:
await controller.login(mySchool, myId, mySecretPassword, year)
Once you log in successfully... You can do whatever you want!
controller.getGrades();
controller.getBehaveEvents();
....
...Are there any docs? #
Well, the code is pretty well documented. If you have any issues, post a new issue.