1.0.0 • Published 4 years ago

simpsons-quote-api v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

TheSimpsonsQuoteAPI-SDK-NODE

A NodeJs SDK for The SimpsonsQuote API by JLuboff.

Usage

npm install simpsons-quote-api

const simpsons = require('simpsons-quote-api')

simpsons.getQuotes("0")
    .then((q) => {
        console.log(q)
    }).catch((e) => {
        console.error(e)
    })

Data methods:

.getQuotes("#") // Returns promise<array, fullQuoteObject>

fullQuoteObject Methods:
.quote // Returns string<quote>
.image // Returns string<image link of who said quote>
.character // Returns string<charicter who said quote>
.characterDirection // Returns string<direction charictar is facing in image>
0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

1.0.0

4 years ago