yanir-edri / mashov_api

The Mashov API - for Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The Mashov API - for Flutter

License:Other


Languages

Language:Dart 94.1%Language:Java 2.2%Language:Objective-C 2.0%Language:Ruby 1.7%