1.0.4 • Published 4 years ago
pets.js v1.0.4
pets.js
An API wrapper for getting (URL) pictures of pets (dogs and cats)
Usage
The following installs pets.js, and then sets the variable picture
to the URL of the image.
const pets = require('pets.js')
// ...
let picture = await pets(animal)
//cat, dog
Be aware, future ratelimits may be added to https://www.thedogapi.com
or https://www.thecatapi.com
, so be sure to keep upt to date with updates for pets.js