Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.
/ wolk-rest Public archive

WolkAbout's Node.js/Web client library for accessing WolkAbout APIs

License

Notifications You must be signed in to change notification settings

Wolkabout/wolk-rest

Repository files navigation

coverage-lines-badge coverage-statements-badge coverage-functions-badge coverage-branches-badge Local Coverage-shield-badge-1

WolkAbout client library

Node.js/Web client library for using WolkAbout REST APIs.

Getting Started

Installation

This library is distributed on npm. In order to add it as a dependency, run the following command:

$ npm install @wolkabout/wolk-rest

First example

Create a new instance of the WolkREST with your baseURL and SessionStorage [optional].

const wolkREST = new WolkREST('https://api-demo.wolkabout.com');

// continue by signing in
async () => {
  const user = await wolkRest.auth().emailSignIn({
    username: 'YOUR_EMAIL',
    password: 'YOUR_PASSWORD'
  });
};

Samples

There are several samples. If you're trying to figure out how to use an API ... look there first! If there's a sample you need missing, feel free to file an issue.

Reference API

This library provides generated Reference API documentation.

Contributing

Contributions are always welcome! Please read the contribution guidelines first.

License

This library is licensed under Apache 2.0.

Releases

No releases published

Packages

No packages published