Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including discordextremelist.xyz with all npm packages installed. Try it out:

var discordextremelistXyz = require("discordextremelist.xyz")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

discordextremelist.xyz v1.0.0

Wrapper for interacting with the Discord Extreme List API

Discord Extreme List

A simple library for interacting with the Discord Extreme List API.

Example

const DEL = require('discordextremelist.xyz');
const client = new DEL.Client('Bot ID', 'API Token');

client.getBot('507970352501227523').then((bot) => {
    console.log(bot);
}).catch((e) => {
    console.error(e);
});

client.getUser('478255216588750858').then((user) => {
    console.log(user);
}).catch((e) => {
    console.error(e);
});

client.getWidget('507970352501227523').then((widget) => {
    console.log(widget);
}).catch((e) => {
    console.error(e);
});

client.updateCount(123).then((bot) => {
    console.log('Server count has been updated', bot);
}).catch((e) => {
    console.error(e);
});

License

This library follows the Apache-2.0 license.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free