rl-cloud-api-sdk
![npm version](http://img.shields.io/npm/v/rl-cloud-api-sdk.svg?style=flat)
About
This NodeJS module is an SDK for the Redis Cloud REST API.
You can use this module to develop againts Redis Cloud REST API.
Quick Start
Install the module
Run the following command in your terminal:
npm i rl-cloud-api-sdk
Initialize the module
To start using to API you first need to enable it and generate your API keys. You can follow the instructions here.
It is recommended not to save your API secrets inside your code.
This is how you create a client:
const client = new CloudAPISDK({
accessKey: 'API access key',
secretKey: 'API secret key',
});
This is how you call a specific API:
//basic usage
const accountInformation = await client.getAccountInformation();
You can find the API documentation here