noderoad
v0.0.1
Published
Node.js Gumroad API client
Downloads
2
Maintainers
Readme
Noderoad
Noderoad is a Node.js API client for Gumroad and a fork of noahbuscher/gumnode.
It's promise-based, slim, and supports the latest API endpoints.
Submit an Issue if you find an outdated or missing endpoint.
Install
npm install noderoad
yarn install noderoad
Usage
const noderoad = require("noderoad")("YOUR_ACCESS_TOKEN");
noderoad
.getProduct("PRODUCT_ID")
.then((product) => console.log("Found product: ", JSON.stringify(product)))
.catch((error) => console.error("Error: ", error.message));