# Developer Platform

<h2 align="center">DTOP Developer Hub</h2>

<p align="center">Intégrez DiscordTop à vos bots, sites et CMS. Vérifiez les votes, déclenchez des récompenses et automatisez votre écosystème en quelques requêtes API.</p>

<p align="center"><a href="/spaces/Z1O8haSztScRfu0fy1yo/pages/PbYb0GukRhiS4qCHdRal" class="button primary">Commencer en 5 minutes</a> <a href="/spaces/lAtlbGhScSjx0xV8Uf9W" class="button secondary">Voir la référence API</a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><h4><i class="fa-leaf">:leaf:</i></h4></td><td><strong>Démarrage rapide</strong></td><td><a href="/spaces/Z1O8haSztScRfu0fy1yo/pages/PbYb0GukRhiS4qCHdRal">/spaces/Z1O8haSztScRfu0fy1yo/pages/PbYb0GukRhiS4qCHdRal</a></td><td><a href="/files/LHIOZGoI6dPF36TuRaxH">/files/LHIOZGoI6dPF36TuRaxH</a></td></tr><tr><td><h4><i class="fa-server">:server:</i></h4></td><td>Intégrations &#x26; exemples</td><td><a href="/spaces/Z1O8haSztScRfu0fy1yo/pages/iPZg7zwlcR7qIIUQnGCb">/spaces/Z1O8haSztScRfu0fy1yo/pages/iPZg7zwlcR7qIIUQnGCb</a></td><td><a href="/files/IaUMODRBBSBL8eUaPX09">/files/IaUMODRBBSBL8eUaPX09</a></td></tr><tr><td><h4><i class="fa-terminal">:terminal:</i></h4></td><td><strong>API reference</strong></td><td><a href="/spaces/lAtlbGhScSjx0xV8Uf9W">/spaces/lAtlbGhScSjx0xV8Uf9W</a></td><td><a href="/files/ebMoLMpZFyLqpzByuzrk">/files/ebMoLMpZFyLqpzByuzrk</a></td></tr><tr><td>Changelog &#x26; roadmap</td><td>Suivez les nouveautés de l’API DiscordTop, les changements de version et les fonctionnalités à venir.</td><td><a href="/spaces/0dfGqEOSy4lLEVkcRrSJ">/spaces/0dfGqEOSy4lLEVkcRrSJ</a></td><td></td></tr></tbody></table>

{% columns %}
{% column %}

### Commencez en 5 minutes

Mettre en place votre première vérification de vote avec l’API DiscordTop ne devrait prendre que quelques minutes.\
Avec des endpoints clairs, des exemples prêts à l’emploi et une authentification ultra simple, vous serez opérationnel très rapidement.

Aucune prise de tête, aucune complexité : juste votre premier appel réussi, tout de suite.

<a href="/spaces/Z1O8haSztScRfu0fy1yo/pages/PbYb0GukRhiS4qCHdRal" class="button primary" data-icon="rocket-launch">Démarrer</a> <a href="/spaces/lAtlbGhScSjx0xV8Uf9W" class="button secondary" data-icon="terminal">API reference</a>
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// Vérifier si un utilisateur a voté via son ID Discord

const res = await fetch(
  "https://api.discordtop.net/v7/vote-check?discord_id=1234567890"
);

const data = await res.json();

console.log(data);
// → { has_voted: true, next_vote_at: "...", cooldown_remaining_seconds: ... }

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

<h3 align="center">En savoir plus sur la plateforme développeur</h3>

<p align="center">Lisez les guides, suivez des tutoriels pas à pas et découvrez comment intégrer DiscordTop<br>à votre bot, votre site web, votre CMS ou votre serveur de jeu.</p>

<p align="center">Que vous souhaitiez créer un système de récompenses, automatiser la gestion des votes<br>ou connecter votre communauté à DiscordTop, tout est documenté.</p>

<p align="center"><a href="/spaces/Sltq0HGzeq5kc2ytOaGE" class="button primary" data-icon="book-open">Guides</a> <a href="/spaces/Z1O8haSztScRfu0fy1yo" class="button secondary" data-icon="book">Documentation</a></p>

<h2 align="center">Rejoignez la communauté des développeurs DiscordTop</h2>

<p align="center">Rejoignez notre serveur Discord pour poser vos questions, partager vos intégrations<br>ou découvrir ce que les autres membres créent avec l’API DiscordTop.</p>

<p align="center">Que vous gériez un petit serveur ou une grande communauté, vous n’êtes plus seul.</p>


---

# 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://docs.discordtop.net/readme.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.
