1.1.0 • Published 5 years ago
random-animals-apis v1.1.0
random-animals-apis
A NPM module for getting random pictures of cats, dogs, birds, and foxes using API's
Installation
$ npm i random-animals-apis
How to Use:
const animalAPI = require("random-animals-apis");
(async () => {
const link = await animalAPI.getRandomDogImage()
console.log(link) // returns the link of the image as a string
})()
Methods:
.getRandomDogImage()
.getRandomCatImage()
.getRandomFoxImage()
.getRandomShibaInuImage()
.getRandomBirdImage()