# Quick Start

{% hint style="info" %}
**Good to know:** A quick start guide can be good to help folks get up and running with your API in a few steps. Some people prefer diving in with the basics rather than meticulously reading every page of documentation!
{% endhint %}

## Create discord bot | إنشئ بوت دسكورد

<https://discord.com/developers/applications>

{% embed url="<https://cdn.discordapp.com/attachments/658049834325901312/1071333175592226846/m_2289brath1.mp4>" %}
شرح كيف تسوي البوت وتنسخ التوكن وتدخله سيرفرك&#x20;
{% endembed %}

## download bot file | تحميل ملف البوت

{% hint style="warning" %}
يجب أن تمتلك رخصة مُسجلة بالنظام لتستطيع تحميل ملف البوت&#x20;
{% endhint %}

<figure><img src="https://media.discordapp.net/attachments/658049834325901312/1071336152323330068/image.png?width=568&#x26;height=377" alt=""><figcaption><p>https://discord.gg/qz</p></figcaption></figure>

{% tabs %}
{% tab title="Node" %}

```
# Install via NPM
npm install --save my-api
```

{% endtab %}

{% tab title="Python" %}

```
# Install via pip
pip install --upgrade myapi
```

{% endtab %}
{% endtabs %}

## Make your first request

To make your first request, send an authenticated request to the pets endpoint. This will create a `pet`, which is nice.

{% hint style="info" %}
**Good to know:** You can use the API Method block to fully document an API method. You can also sync your API blocks with an OpenAPI file or URL to auto-populate them.
{% endhint %}

Take a look at how you might call this method using our official libraries, or via `curl`:

{% tabs %}
{% tab title="curl" %}

```
curl https://api.myapi.com/v1/pet  
    -u YOUR_API_KEY:  
    -d name='Wilson'  
    -d species='dog'  
    -d owner_id='sha7891bikojbkreuy'  
```

{% endtab %}

{% tab title="Node" %}

```javascript
// require the myapi module and set it up with your API key
const myapi = require('myapi')(YOUR_API_KEY);

const newPet = away myapi.pet.create({
    name: 'Wilson',
    owner_id: 'sha7891bikojbkreuy',
    species: 'Dog',
    breed: 'Golden Retriever',
})
```

{% endtab %}

{% tab title="Python" %}

```python
// Set your API key before making the request
myapi.api_key = YOUR_API_KEY

myapi.Pet.create(
    name='Wilson',
    owner_id='sha7891bikojbkreuy',
    species='Dog',
    breed='Golden Retriever',
)
```

{% endtab %}
{% endtabs %}
