tlfapi-js
v2.1.2
Published
a js lib to call toulousefurs api endpoints
Downloads
63
Readme
tlfapi-js
a js lib to call toulousefurs api endpoints
Installation
npm install tlfapi-js
Usage
const tlfapi = require('tlfapi-js');
tlfapi.config.setApiKey(env.TOULOUSEFUR_API_TOKEN as string);
tlfapi.config.setApiUrl(env.TOULOUSEFUR_API_URL as string);
const meets = await tlfapi.crud.meet.getMeets();
const users = await tlfapi.crud.user.getUsers();
const participants = await tlfapi.crud.participant.getParticipants();
Development
npm i
npm run build
# push to npm
npm publish