Giter VIP home page Giter VIP logo

random-api's Introduction

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.

random-api's People

Contributors

rilecraft avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.