@aulamejor/sdk
v1.28.0
Published
## Installation
Readme
SDK for the Aula Mejor REST API
Installation
Install the library from npm
npm install --save @aulamejor/sdkRequirements
- fetch API
Usage
import AulaMejor from '@aulamejor/sdk'
const client = new AulaMejor({ baseURL: '/your/environment/url', bearerToken: 'yout_access_token' })
const email = '[email protected]'
const password = '12345'
client.registerUser(email, password)
.then(json => console.log(json)) // { userId: 1, ... }Development
Clone the repo
git clone https://<username>@bitbucket.org/aulamejor_dev/sdk.aulamejor.com.gitInstall the dependencies
npm installTo run the tests
npm testPrerequisites
- jq (for publishing only)
