epicbots-sown
v1.0.1
Published
EpicBots est une bibliothèque Node.js permettant d'interagir avec l'API d'EpicBots.xyz.
Downloads
4
Readme
EpicBots
EpicBots est une bibliothèque Node.js permettant d'interagir avec l'API d'EpicBots.xyz.
Installation Pour utiliser la bibliothèque EpicBots, vous devez l'installer via npm. Exécutez la commande suivante dans votre projet :
npm install epicbots
Utilisation
Voici un exemple de code montrant comment utiliser la bibliothèque EpicBots :
const EpicBots = require('epicbots');
// Créez une instance de la classe EpicBots en fournissant votre clé API
const epicBots = new EpicBots('VOTRE_CLÉ_API');
// Récupérez les informations d'une guilde
epicBots.guildinfo('ID_DE_LA_GUILDE')
.then(data => {
console.log(data);
})
.catch(error => {
console.error('Erreur lors de la récupération des informations sur la guilde :', error);
});
// Récupérez les informations d'un utilisateur dans une guilde
epicBots.guildinfouser('ID_DE_LA_GUILDE', 'ID_DE_L_UTILISATEUR')
.then(data => {
console.log(data);
})
.catch(error => {
console.error('Erreur lors de la récupération des informations sur l\'utilisateur :', error);
});
Assurez-vous de remplacer 'VOTRE_CLÉ_API', 'ID_DE_LA_GUILDE' et 'ID_DE_L_UTILISATEUR' par les valeurs appropriées.
Documentation
Vous pouvez consulter la documentation complète de l'API EpicBots.xyz pour obtenir plus d'informations sur les méthodes disponibles et les données renvoyées : Documentation de l'API EpicBots.xyz
Auteur
EpicBots est développé et maintenu par Sown et Millenium is here.
Licence
Cette bibliothèque est sous licence MIT. Voir le fichier LICENSE pour plus de détails.