partnerstack
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

Unofficial Nodejs Partnerstack API, by pyscriptbug

Fully typed Partnerstack API sdk

Installing

Run the following command under your project

  • npm i partnerstack

Initializing

First you need to initialize the parnerstack instance as the following

import { initializePartnerstack } from 'partnerstack';

intializeParnerstack({ apiKey: "Your_API_key", secretKey: "Your_Secret_key" });

Usage

Then you can call any method from the api

import { api } from 'partnerstack';

const deals = api.getAllDeals(); // will return an object with `hasMore` boolean and `items` containing every deal.

For further docs see Partnerstack Reference

Readme

Keywords

Package Sidebar

Install

npm i partnerstack

Weekly Downloads

2

Version

0.0.14

License

MIT

Unpacked Size

96.2 kB

Total Files

53

Last publish

Collaborators

  • pyscriptbug