stackpath-sdk

1.0.0 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i stackpath-sdk

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

1.79 kB

Total Files

5

Last publish

Collaborators

  • kontrollanten