Skip to content

mezotv/skylander.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skylander.js

skylander.js is a standalone tool made to help developers get info about a skylander and use it in any project with ease. Yes this is very similar to pokedev.js since we made both packages!

Logo

Discord

npm

size

downloads

Quick Links

Installation

Install skylander.js with npm

  npm install skylander.js

Install skylander.js with yarn

  yarn add skylander.js

Code Example

const { getSkylanderByName } = require("skylander.js") 


const run = async () => {
    const skylander = await getSkylanderByName("spyro")
    console.log(skylander);
}

run();

Console output

{
  name: 'Spyro',
  image: 'https://cdn.discordapp.com/attachments/846807473352343552/846815877839585320/Spyro.jpg',
  gender: 'Male',
  species: 'Purple Dragon',
  release: "Skylanders: Spyro's Adventure",
  role: 'Skylander',
  element: 'https://cdn.discordapp.com/attachments/846807473352343552/846815741483286628/Magic.png',
  quote: 'All Fired Up!'
}

Methods

  • getSkylanderByID(id): Fetching a Skylander by an id.
  • getSkylanderByName(name): Fetching a Skylander by his name.
  • getSkylanderRandom(): Fetching a random Skylander.

Contributors

image

About

skylander.js is a standalone tool made to help developers get info about a skylander and use it in any project with ease.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published