easistent_client 0.0.2 copy "easistent_client: ^0.0.2" to clipboard
easistent_client: ^0.0.2 copied to clipboard

outdated

An eAsistent client package

An eAsistent client Flutter package

Usage #

// Login with username and password
var login = await EAsClient.userLogin('username', 'password');

// Or login with token
var login = await EAsClient.tokenLogin('refreshToken');

// Create the client
final client = EAsClient();

// If needed refresh the access token
if (login.accessToken.isExpired())
  login = await EAsClient.refreshToken(login);

// Get a timetable
final timetable = await client.getTimeTable(login, DateTime.now());
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An eAsistent client package

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, html, http

More

Packages that depend on easistent_client