Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 490 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 490 Bytes

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("USERNAME", "PASSWORD");
options = {
    "format": "raw" // raw, simplified, plaintext. default: plaintext
}
ED.getHomeworks("2020-06-12", options) //only the first argument (date) is required
    .then(hw => console.log(hw));