JSPM

api-ecoledirecte-france

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q44833F
  • License ISC

A little API from ecoledirecte

Package Exports

  • api-ecoledirecte-france

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (api-ecoledirecte-france) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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