Official API wrapper fo the Fumo API.
Install is simple, yarn add fumo-api
/npm install fumo-api
Get a random fumo
const {FumoClient} = require('fumo-api')
const fumos = new FumoClient()
fumos.random().then(fumo => {
console.log(fumo)
})
Use a custom baseURL
const {FumoClient} = require('fumo-api')
const fumos = new FumoClient({endpoint: 'https://customdb.example.com/'})
Thanks for using fumo-api!