@minot0r/iutcalendar

1.0.7 • Public • Published

Build Status

iutcalendar

a npm package to retrieve courses of Nantes' IUT

install

install using npm i @minot0r/iutcalendar

example

Docs this is a basic example of getting next course using iutcalendar

/* Basically you're creating your EDT object, then you build it, 
 * build here does retrieve all courses from constructor parameters
 * and returns a Promise which gives you back your EDT object
 * with courses loaded.
 * 
 * Play around with other EDT methods which you can find on docs
 */
new EDT(new Group(1, 1), new Date()).build().then(edt => {
    let nextCourse = edt.getClosestCourse()
    // Play around with your course, find all data you can get from it with docs
}).catch(err => {
    // In case there is an error
})

Readme

Keywords

Package Sidebar

Install

npm i @minot0r/iutcalendar

Weekly Downloads

8

Version

1.0.7

License

MIT

Unpacked Size

1.51 MB

Total Files

50

Last publish

Collaborators

  • minot0r