dila-api-client
This JS package helps querying the DILA API
Usage
You need to set two envrionment variables : OAUTH_CLIENT_ID
and OAUTH_CLIENT_SECRET
.
These variables are the "oauth identifier" defined in your custom application in the AIFE portal
Récupérer la table des matières d'un code
const DilaApiClient = ; const dilaApi = ; dilaApi
Other API calls
dilaApi
Debug
you need to set the DEBUG=dila-api-client
environment variable in order to see
the output of inner logs.