1.5.2 • Published 3 years ago

leoapi-wrapper v1.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Leo API Wrapper

This wrapper utilises leoapi

To use this wrapper you must type in the functions...

const API = require('leoapi-wrapper')
const leo = API()

//for image endpoints 
leo.image('<endpoint>', {
    '<param>': '<value>'
})

//for data endpoints 
leo.data('<endpoint>').then(data => console.log(data))

//for text endpoints 
leo.text('<endpoint>').then(data => console.log(data))

//for fun endpoints 
leo.fun('<endpoint>').then(data => console.log(data))
1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.3.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago