api-ecoledirecte-france
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i api-ecoledirecte-france

Weekly Downloads

6

Version

0.1.1

License

ISC

Unpacked Size

40.4 kB

Total Files

17

Last publish

Collaborators

  • obvious-ly-sh