About • Prerequisites • Usage • Links • Compatible With • Credits • License
Imagine-dragons.js is a NodeJS library that utilizes the Unnecessary Libraries ImDragonsAPI. Making it easier for Developers to instantly find any information regarding the band "Imagine Dragons". Making a simple way to index though the mass amounts of Data the API has to offer.
- NodeJS
- Understanding of the ImDragonsAPI
- Basic Javascipt Knowledge
Installing the Library within a NodeJS enviorment
# install imdragons.js
$ npm install imdragons.js
This example is Creating a new Indexer class, thats sends a GET/request to the ImDragonsAPI looking for the "band" Collection. Once we Recieve the collection we can index through it and we can find the Band Details.
// Import Imgaine-Dragons.js
import { Collection } from "../lib/index.js"
// Calling a Collection indexer to search for band info
const info = await Collection("info")
// Shows all Band JSON Infomation
console.log(info)
Expected Output should be as follows
"details": {
"origin": "Las Vegas, Nevada, United States",
"years active": "2008-present",
"genres": [
"Alternative rock",
"Indie rock",
"Electronic rock"
],
"labels": [
"Interscope Records",
"KIDinaKORNER"
],
"members": [
"Daniel Samardžić",
"Dan Reynolds",
"Ben McKee",
"Wayne Sermon",
"Daniel Platzman"
]
}
- Discord.js
- Spotify Web API
- Many Many More
MIT