@wolkabout/wolk-rest
v22.9.3
Published
A client for interacting with WolkAbout IoT Platform's API
Downloads
49
Readme
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. Check Wolk REST Client api coverage in our changelog.
Contributing
Contributions are always welcome! Please read the contribution guidelines first.
License
This library is licensed under Apache 2.0.