ReductStore Client SDK for JavaScript v1.2.0: New Features and Example Use

Dec 23, 2022. | By: Alexey Timin

Hello, everyone! ReductStore has released v1.2.0 of its JavaScript SDK. This update includes support for ReductStore API version 1.2 with the new Client.me method, which allows you to retrieve information about your current API token and its permissions.

The Client.me method is a useful addition to the ReductStore JavaScript SDK, and can help you manage and monitor your access to the platform. Here is an example of how you might use it in your application:

const {Client} = require("reduct-js");

const client = new Client("http://127.0.0.1:8383", {apiToken: "my-token"});
const tokenInfo = await client.me();

console.log(tokenInfo.name);
console.log(tokenInfo.permissions.fullAccess);

In addition to the new Client.me method, this release of the ReductStore JavaScript SDK also includes updates to the documentation to reflect the recent rebranding of the platform. We hope these updates will enhance your experience with ReductStore.

if you have any questions or feedback, don’t hesitate to reach out in Discord or by opening a discussion on GitHub.

#News #Sdks #Tutorials

About

ReductStore is a time series database designed specifically for storing and managing large amounts of blob data. It has high performance for writing and real-time querying, making it suitable for edge computing, computer vision, and IoT applications. ReductStore is 100% open source under Mozilla Public License v2.0.