1.0.7 • Published 6 years ago

@minot0r/iutcalendar v1.0.7

Weekly downloads
8
License
MIT
Repository
-
Last release
6 years ago

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
})
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago