Wolkabout / wolk-rest

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

Home Page:https://restapi.wolkabout.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://restapi.wolkabout.com/

License:Apache License 2.0


Languages

Language:TypeScript 98.6%Language:JavaScript 1.4%