This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

ecoledirecte-api

1.0.4 • Public • Published

Ecoledirecte API

⚠️ EARLY WIP

Unofficial API Client for EcoleDirecte

Currently supports fetching Homeworks

Installation:

npm install ecoledirecte-api

Example:

EcoleDirecte = require('ecoledirecte-api');
 
ED = new EcoleDirecte("EDELEVE", "0");
options = {
        "format": "raw" // raw, simplified, plaintext. default: plaintext
}
 
ED.getHomeworks("2020-11-16", options) //only the first argument (date) is required
    .then(hw => console.log(hw))
    .catch(e => console.error); 
 
ED.getGrades()
    .then(grades => {console.log(grades)})
    .catch(e => console.log);

/ecoledirecte-api/

    Package Sidebar

    Install

    npm i ecoledirecte-api

    Weekly Downloads

    0

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    6.9 kB

    Total Files

    3

    Last publish

    Collaborators

    • ifndev