A ScuolaNext UNOFFICIAL API wrapper written in Dart.
This package can be used on both Dart (Web & CLI) and Flutter.
First import this package with:
import 'package:scuolanext/scuolanext.dart';
then instantiate a Client object:
Client client = new Client();
There are two ways to login, with school code, user and password and with school code and token. Do the first login using the first way:
await client.firstLogin(
schoolCode: "ssXXXX",
username: "XXXXXXXXXX",
password: "XXXXXXXXXXXXXXXXXXXXX",
);
then save the token:
String token = client.token; // obviously run this after login
so next time you can login with:
await client.initClient(
schoolCode: "ssXXXX",
token: token,
);
see example/
To build dart docs just cd into this directory and then run
dartdoc
- implement scrutiny in votes()
- test all methods of client()
- @cristianlivella for his wrapper.
- @hearot for his python wrapper