sellapp-node
v1.1.3
Published
A Node.js API Wrapper made for Sell.App
Downloads
7
Maintainers
Readme
Sell.app API Wrapper
[!WARNING]
This Wrapper is an advanced updated version of the current Sell.app Wrapper that was made and archived in9/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", "[email protected]", "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