# Points des Maisons

## Obtenir des informations sur la méthode

## Afficher la liste des méthodes disponibles et leur description  / syntaxe respective.

<mark style="color:blue;">`GET`</mark> `https://api.magic-bot.ovh/v1/points`

#### Path Parameters

| Name                                            | Type   | Description  |
| ----------------------------------------------- | ------ | ------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Your api key |

{% tabs %}
{% tab title="200: OK Page affichée avec succès" %}

{% endtab %}

{% tab title="401: Unauthorized Permission refusée" %}

{% endtab %}
{% endtabs %}

## Obtenir les points de chaque maison de votre serveur

## Afficher les points de chaque maison de votre serveur

<mark style="color:blue;">`GET`</mark> `https://api.magic-bot.ovh/v1/points/:guildId`

#### Path Parameters

| Name                                            | Type   | Description                        |
| ----------------------------------------------- | ------ | ---------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Your api key                       |
| guildId<mark style="color:red;">\*</mark>       | String | The identifier of the guild to get |

{% tabs %}
{% tab title="200: OK Points affichés avec succès !" %}

```javascript
{
   "gryffindor": 10,
   "slytherin": 10,
   "ravenclaw": 10,
   "hufflepuff": 10,
   "status": 200
}
```

{% endtab %}

{% tab title="404: Not Found Aucun point n'a été trouvé pour ce serveur" %}

```javascript
{
   "error": "No house points found on this serve",
   "status": 404
}
```

{% endtab %}
{% endtabs %}
