/gumroad-api-tester

πŸŒ€ A web tool for easily testing the Gumroad API.

Primary LanguageTypeScriptMIT LicenseMIT

πŸŒ€ Gumroad API Tester

A web tool for easily testing the Gumroad API.

npm Version  View project on GitHub  Deploy Status  Sponsor

Get Started

Open the Gumroad API Tester

Documentation

Read the official documentation.

Overview

Gumroad is a platform that allows you to sell digital products such as books, memberships, courses, and more.

Using this tool, you can test out the Gumroad API using your access token. This tool can also be helpful if you need to make changes not supported via the website, such as adding resource subscriptions.

All v2 endpoints are available for quick selection, or you can manually enter things if you'd like. Some parameters are optionalβ€”be sure to reference the API docs when in doubt.

When retrieving products, buy links are shown so that you can test product purchases right from within this testing tool.

Try the GET: /user endpoint for a quick test of your access token.

This project is open sourced on GitHub under the MIT License.

πŸŽ‰ Happy selling!

β†’ Get started here ←

Features include:

  • πŸŒ€ Quickly and easily test calls to the Gumroad API
    • Plug in your access token, choose your desired endpoint, and go!
  • 🧬 Structured and raw responses
    • View responses as an interactive tree or as raw text
  • πŸ“ Easy query and URL param editing
    • Easily edit your endpoint params before sending

Donate

I hope this project makes your life a little easier! If it does and you'd like to show your appreciation, consider supporting the project with a coffee or sponsorship.

Your support helps keep the project going and will earn you some serious virtual high fives. Maybe even a virtual fist bump if you're feeling extra cool.

Sponsor via GitHub Buy me a coffee Buy me 3 coffees Buy me 5 coffees

Table of Contents

Installation

npm i gumroad-api-tester

Usage

Via Website

Go here: Gumroad API Tester

Via npm

If you want to use the widget yourself, you can install this package via npm and use the exported GumroadAPIWidget.

import { GumroadAPIWidget } from 'gumroad-api-tester';
<GumroadAPIWidget />

Note: The API widget depends on Bootstrap 5 via react-bootstrap. You must import the Bootstrap styles yourself. For additional styling, I am using the Zephyr swatch from Bootswatch.

TypeScript

Type definitions have been included for TypeScript support.

Icon Attribution

Favicon by Twemoji.

Contributing

Open source software is awesome and so are you. 😎

Feel free to submit a pull request for bugs or additions, and make sure to update tests as appropriate. If you find a mistake in the docs, send a PR! Even the smallest changes help.

For major changes, open an issue first to discuss what you'd like to change.

⭐ Found It Helpful? Star It!

If you found this project helpful, let the community know by giving it a star: πŸ‘‰β­

License

See LICENSE.md.