This page features the server-side features for Whop.

Whop has a Javascript (Backend) SDK that will allow you to hit Whop's endpoints through a npm module. You can find the package hosted here: https://github.com/whopio/whop-javascript-sdk.

Installation

You can install the Whop Javascript SDK using npm:

npm i whopapi

Usage

var WhopApi = require('whopapi');

var whop = new WhopApi.Whop({
    // You can pass in either or both of bearer and clientID.
    bearer: "<Bearer Token>",
    clientID: "<client ID>"
});

console.log(whop.getLinks());