JiachenRen / oscar

Simple Georgia Tech Buzzport & Oscar API implemented in Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oscar

A simple API wrapper for Georgia Tech Buzzport login and Oscar registration services.

How does it work?

Nothing special... the dart script just controls a headless Chrome and follow the normal login process. This is possible thanks to the puppeteer package.

How to use?

Just look under test/oscar_registration_test.dart to get a glimpse of what this API can do. (You can easily extend the functionalities, with a bit of code. I'm too lazy...)

Examples

Login to Buzzport and take a screenshot

Screenshots will be saved under .screenshots

await Buzzport(browser, _credential).loginIfNeeded().then((page) {
  return screenshot(page, 'buzzport_login');
});

Get current schedule

Look in test/buzzport_login_test.dart

About

Simple Georgia Tech Buzzport & Oscar API implemented in Dart


Languages

Language:Dart 96.2%Language:Swift 2.7%Language:Kotlin 0.8%Language:Objective-C 0.3%