sellapp-node

1.1.3 • Public • Published

Sell.app API Wrapper

[!WARNING]
This Wrapper is an advanced updated version of the current Sell.app Wrapper that was made and archived in 9/17/2023 by t6c. You can reference this wrapper here.

[!NOTE]
Because this is a new wrapper for Sell.app it currently supports all Sell.app API endpoints.

Requirements

[!IMPORTANT]

  • Sell.app API Key (Get it here)
  • Sell.app store name (optional)
  • npm >=8.3.0
  • node >=16.0.0

Installation

[!IMPORTANT] npm i sellapp-node

Usage

const Sellapp = require("sellapp-node");
const API = new Sellapp.API("YOUR_API_KEY");

API.products.getAllProducts().then((res) => {
	console.log(res); // returns a list of all products
});

API.blacklists.createBlacklist("email", "hi@example.com", "evil user").then((res) => {
	console.log(res); // blacklisting the said user with the string "evil user" as description
});

Multi-Store Support

Say you are part of multiple stores and want to access bob.sell.app, you would pass the slug bob as your store.

Endpoints & Examples of Usage

[!IMPORTANT] Documentation

Package Sidebar

Install

npm i sellapp-node

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

37.3 kB

Total Files

17

Last publish

Collaborators

  • friizologyy