polytechcolloscopeclient 1.0.9 copy "polytechcolloscopeclient: ^1.0.9" to clipboard
polytechcolloscopeclient: ^1.0.9 copied to clipboard

a library aiming at providing a simple interface to fetch data from Polytech Lyon Colloscope

PolytechColloscopeClient #

PolytechColloscopeClient is a library aiming at providing a simple interface to fetch data from Polytech Lyon Colloscope Website

Usage : #

To begin with, you need to create a new instance of the client :

var client = PolytechColloscopeClient(username, password);

Then, you can fetch various data from the website :

Get the list of all the students (returns a list of Student objects containing student name and ID) : You must specify the year of the students you want to fetch using the Year enum (Year.first or Year.second) Example :

var students = await client.getStudents(Year.second);

You can also fetch a specific student using his name, surname and year (actually, only the first letter of the name is required since the website only shows the inital) :

var student = await client.fetchStudent(Year.second, name, surname);

You can then get the student's colloscope :

var colloscope = await client.fetchColloscope(student);

The colloscope contains a Student object, its trinomeID, and a list of kholles Each Kholle object contains the date of the kholle, the subject, the kholleur, and possibly a message containing the room (if present on the website)

0
likes
125
pub points
0%
popularity

Publisher

unverified uploader

a library aiming at providing a simple interface to fetch data from Polytech Lyon Colloscope

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

beautiful_soup_dart, collection, copy_with_extension, diacritic, dotenv, equatable, hive, html, requests_plus

More

Packages that depend on polytechcolloscopeclient