Extra Life API for Discord bot (node.js) - Extra Life JSON Code Discussion & Sharing - Extra Life Community Hub Jump to content

Extra Life API for Discord bot (node.js)

Recommended Posts

Hey everyone!.


 I want to share this useful API that I found on internet. If you have a custom bot and you want to get Extra Life info directly from your Discord server without checking the web site. Install this API and you can create custom commands to get information.


WARNING: I'm assuming you have a basic knowledge about development. 🤯




-You need to install node.js on your PC or server first. Download it here:  https://nodejs.org/en/download/


The installation instructions to install the Extra Life API is here: https://www.npmjs.com/package/extra-life-api


If you don't want to read, just go to your bot folder and run this command: " npm i extra-life-api", you should see an output like this:




Ignore the warnings




Once the installation is completed, you are able to create your custom Extra Life commands for your Disord bot. We got just 4 methods for now to get information: getUserInfo, getUserDonations, getTeamInfo, getTeamRoster and getTeamDonations . All the information about how to use them and what information we can get is on the web site.


I will add later how you can build your Extra Life bot or add these functionalities to your current custom bot. I leave you some basic examples what kind of things you can do to start. A big thank you to @Alex Muench for sharing and all the developers who worked on it. If you like this work consider to donate: https://www.extra-life.org/index.cfm?fuseaction=donorDrive.participant&participantID=362008


Let me know if you need help or anything.


Besos muah!










Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...