@aulamejor/sdk

## Installation

Stats

StarsIssuesVersionUpdatedCreatedSize
@aulamejor/sdk
1.28.02 years ago3 years agoMinified + gzip package size for @aulamejor/sdk in KB

Readme

SDK for the Aula Mejor REST API

Installation

Install the library from npm

npm install --save @aulamejor/sdk

Requirements

  • fetch API

Usage

import AulaMejor from '@aulamejor/sdk'

const client = new AulaMejor({ baseURL: '/your/environment/url', bearerToken: 'yout_access_token' })
const email = 'eljuan@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.aulamejor.com.git

Install the dependencies

npm install

To run the tests

npm test

Prerequisites

  • jq (for publishing only)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.