addu_sis 1.0.0 copy "addu_sis: ^1.0.0" to clipboard
addu_sis: ^1.0.0 copied to clipboard

outdated

A Dart library for accessing AdDU Student Information System (SIS) data. Originally built for AdDU Hub Flutter app.

AdDU Student Information System Node.js Library #

A Dart library for accessing AdDU Student Information System (SIS) data. This library scrapes data using dio and the http HTML parser. No data is saved when using this library by itself.

Getting Started #

These instructions will get you the library up and running on your local machine for development and testing purposes

Installing #

Add this to your package's pubspec.yaml file:

dependencies:
  addu_sis: ^1.0.0

Usage #

Here is an example that:

  1. initializes the SIS library
  2. gets and prints user information
import 'package:addu_sis/addu_sis.dart';

Future<void> main() async {
  var sis = new SIS('username', 'password');
  var user = await sis.getUser();
  // user.card, user.id, user.name, user.course, user.section, user.division, user.year, user.status
}

Getting and printing the grades of the account

var grades = await sis.getGrades();

print(grades.all());

Getting and printing the balance of the account

var balance = await sis.getBalance();

print(balance.all());

Getting and printing the registration of the account

var registration = await sis.getRegistration();

print(registration.all());

Getting and printing all of the subjects in the curriculum of the account

var curriculum = await sis.getCurriculum();

print(curriculum.all());

Searching for currently available classes with class code 4-%

var search = await sis.searchClasses('4-%');

print(search);

Testing #

This package does not come with examples for testing yet.

Versioning #

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors #

See also the list of contributors who participated in this project.

License #

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments #

  • AdDU SIS ;)
  • Hat tip to anyone whose code was used
  • Inspiration
  • etc
1
likes
35
pub points
0%
popularity

Publisher

verified publishersnry.xyz

A Dart library for accessing AdDU Student Information System (SIS) data. Originally built for AdDU Hub Flutter app.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

cookie_jar, dio, dio_cookie_manager, html

More

Packages that depend on addu_sis