> For the complete documentation index, see [llms.txt](https://friizologyy.gitbook.io/sell.app-api-wrapper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://friizologyy.gitbook.io/sell.app-api-wrapper/guides/introduction.md).

# Introduction

{% hint style="warning" %}
If you are using the old API Wrapper which can be found [here](https://github.com/t6c/sellapp-api-wrapper), We highly suggest you migrate to this wrapper as the old is outdated an unmaintained.
{% endhint %}

{% tabs %}
{% tab title="Version" %} <mark style="color:yellow;">v1.0.0</mark>
{% endtab %}
{% endtabs %}

### Getting Started

To get started you will need the following from Sell.App:

{% hint style="info" %}

* Sell.app API Key ([Get it here](https://sell.app/user/api-tokens))
* Sell.app store name *(optional)*
  {% endhint %}

### System Requirements

{% hint style="info" %}

* npm >=8.3.0
* node >=16.0.0
  {% endhint %}

### Installation

```javascript
npm i sellapp-node
```

### Usage

```javascript
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
});
```
