gumnode

1.0.3 • Public • Published

Gumnode

Gumnode is a Node.js API wrapper for Gumroad.

It's promise-based, slim, and supports Gumroad's latest API endpoints.

Submit an Issue if you find an outdated endpoint or find a new one you want Gumnode to support.

Install

npm install gumnode

or

yarn install gumnode

Usage

const Gumnode = require("gumnode");

const api = new Gumnode({
  access_token: "YOUR_ACCESS_TOKEN",
});

api
  .getProduct({ product_id: "PRODUCT_ID" })
  .then((response) => console.log("Found product:", response))
  .catch((response) => console.log("Error:", response.message));

Todo

  • [ ] Add docs to functions
  • [ ] Add tests

Package Sidebar

Install

npm i gumnode

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

16.2 kB

Total Files

5

Last publish

Collaborators

  • noahbuscher