1.0.0 • Published 3 years ago
stackpath-sdk v1.0.0
StackPath SDK
A simple SDK to talk to StackPath API.
Getting started
yarn add stackpath-sdk
const Stackpath = require('stackpath-sdk');
async function init() {
const sp = new Stackpath({
clientId: '',
clientSecret: '',
});
await sp.auth();
const ipList = await sp.getIpList();
}
API
Currently there's only support for authentication and getting the IP white list.
sp.auth();
sp.getIpList();
1.0.0
3 years ago