👜Inventaire des joueurs
Obtenir des informations sur la méthode
Afficher la liste des méthodes disponibles et leur description / syntaxe respective.
GET https://api.magic-bot.ovh/inventory
Path Parameters
Name
Type
Description
Authorization*
String
Your api key
Obtenir l'inventaire de tous les membres de votre serveur
Afficher l'inventaire de tous les membres de votre serveur.
GET https://api.magic-bot.ovh/inventory/:guildId
Path Parameters
Name
Type
Description
guildId*
String
The identifier of the guild to get
Authorization*
String
Your api key
{
"results": [
{
"user_id": "xxxxxxxxxxxxxxxx",
"guild_id": "xxxxxxxxxxxxxxxx"
...
}
],
"count": 1,
"status": 200
}{
"error": "No player inventory found on this server",
"status": 404
}Obtenir l'inventaire d'un membre de votre serveur
Afficher l'inventaire d'un membre de votre serveur.
GET https://api.magic-bot.ovh/inventory/:guildId/user/:userId
Path Parameters
Name
Type
Description
guildId*
String
The identifier of the guild to get
userId*
String
The identifier of the member to get
Authorization*
String
Your api key
Obtenir l'inventaire d'un joueur de votre serveur
Afficher l'inventaire d'un joueur de votre serveur.
GET https://api.magic-bot.ovh/inventory/:guildId/player/:playerId
Path Parameters
Name
Type
Description
guildId*
String
The identifier of the guild to get
playerId*
String
The identifier of the player to get
Authorization*
String
Your api key
Mis à jour
Ce contenu vous a-t-il été utile ?