1.0.0 • Published 5 years ago
npm-educademia v1.0.0
SDK for the Educademia REST API
Installation
Install the library from npm
npm install --save @educademia/sdkRequirements
- fetch API
Usage
import AulaMejor from '@educademia/sdk'
const client = new AulaMejor({ baseURL: '/your/environment/url', bearerToken: 'yout_access_token' })
const email = 'email@gmail.com'
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.educademia.org.gitInstall the dependencies
npm installTo run the tests
npm testPrerequisites
- jq (for publishing only)
1.0.0
5 years ago