The Mashov (students) API - for flutter.
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();
....
Well, the code is pretty well documented. If you have any issues, post a new issue.