flutter_mashov_api 0.0.1 copy "flutter_mashov_api: ^0.0.1" to clipboard
flutter_mashov_api: ^0.0.1 copied to clipboard

outdated

The Mashov API - for Flutter. see https://github.com/yanir-edri/flutter-mashov-api for more.

Flutter Mashov Api #

...What is this thing? #

The Mashov (students) API - for flutter.

Where do I get started? #

first of all, inject a nice Api Controller to your code:

var controller = Injector.getInjector().get(key: "ApiController");

next, get yourself a list of schools:

var schools = await controller.getScholls();

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();
....

note that the api is currently NOT handling exceptions... so either wait for me to do it or do it yourself!

are there any docs...? #

well, the code is pretty well documented. If you have any issues, post a new issue.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

The Mashov API - for Flutter. see https://github.com/yanir-edri/flutter-mashov-api for more.

Repository (GitHub)
View/report issues

Dependencies

build_runner, flutter, flutter_simple_dependency_injection, http, json_annotation, localstorage, test

More

Packages that depend on flutter_mashov_api