Authorization with NodeJS
If you are integrating with your application, you can utilize NodeJS SDK for V2 API. All you need to do is define API Keys on your environment and,
install to SDK:
npm install perculus-sdk@beta
import the SDK in your code:
import APIClient from "perculus-sdk";
getClient() {
const client = new APIClient();
client.setDomain(process.env.PERCULUS_DOMAIN);
client.setCredentials({
accessKey: process.env.PERCULUS_ACCESS_KEY,
secretKey: process.env.PERCULUS_SECRET_KEY,
});
return client;
}
and then you are ready to use the client to do any operation in the docs.
Last updated
Was this helpful?