1.0.4 • Published 4 years ago

pets.js v1.0.4

Weekly downloads
1,976
License
ISC
Repository
github
Last release
4 years ago

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

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago