0.1.1 • Published 4 years ago

api-ecoledirecte-france v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

API ÉCOLEDIRECTE FRANCE

Sample code to get access to the API:

const api = require("api-ecoledirecte-france")

api.login("username", "password")
    .then((token) => {
        console.log(token) // Useful to access to the API...
    })
    .catch((err) => {
        throw err
    })

api.accounts("username", "password")
    .then((accounts) => {
        console.log(accounts)
    })
    .catch((err) => {
        throw err
    })