1.0.7 • Published 4 years ago

@minot0r/iutcalendar v1.0.7

Weekly downloads
8
License
MIT
Repository
-
Last release
4 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

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago