1.0.5 • Published 3 years ago

@rilecraft/random-api v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Random API Package

This packages is made of many APIs and manually selected gifs array. This package will include things like images , facts etc. We try our best to keep it updated and easy to use.

Example Usage:

In Async

(async () => {
const animals = require("@rilecraft/random-api")
const duck = await animals.getDuck()
console.log(duck)
})()

Without Async

const animals = require("@rilecraft/random-api")
animals.getDuck().then(res => {
console.log(res)
})

Avaliable Functions List

Random Animal Images

  • getDog()
  • getCat()
  • getFox()
  • getDuck()
  • getPanda()
  • getBird()
  • getBear()
  • getKoala()

Random Animal Facts

  • getDogFacts()
  • getCatFacts()
  • getFoxFacts()
  • getDuckFacts()
  • getPandaFacts()
  • getBirdFacts()
  • getBearFacts()
  • getKoalaFacts()

Anime Gifs

  • getHug()
  • getSleep()
  • getPunch()
  • getSlap()
  • getPat()
  • getPout()
  • getKiss()
  • getWasted()
  • getHi()
  • getRun()
  • getNervous()

Misc

  • getQotd()
  • getQuotes()
  • get8ball()
  • getRandomNumber(smaller number, bigger number)
  • getPassword(number)
  • getRandomText(["option1", "option2", "option3" . . .])
  • getRandomPersonData("option") name , gender , city , state , street , country , postcode , timezone , email , phone , photo , birthday , age

Credits to

Note (❗)

  • Any abuse done to the API(s) using this package are NOT our responsibility. It is the responsibility of the person that was abusing using the package.
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago