Skip to content
This repository was archived by the owner on Jun 12, 2019. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argo ScuolaNext

A ScuolaNext UNOFFICIAL API wrapper written in Dart.

This package can be used on both Dart (Web & CLI) and Flutter.

Usage

First import this package with:

import 'package:scuolanext/scuolanext.dart';

then instantiate a Client object:

Client client = new Client();

Login

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,
);

Example

see example/

docs

To build dart docs just cd into this directory and then run

dartdoc

TODO

  • implement scrutiny in votes()
  • test all methods of client()

special thanks

About

UNOFFICIAL API wrapper for argo scuolanext written in dart.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages