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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://friizologyy.gitbook.io/sell.app-api-wrapper/guides/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
