get-meme-urls
Get meme urls for specified query (default:
agile
).
Usage
const getMemeUrls = ; ;
API
getMemeUrls([searchQuery][, options])
Returns a Promise
which will be resolved with array of meme urls or rejected with an appropriate error.
searchQuery
Type: string
Default: agile
The search query.
options
apiKey
Type: string
Default: demo
Memegenerator API KEY. Can be set globally with the MEMEGENERATOR_API_KEY environment variable.
pageIndex
Type: number
Page index of the requested result set. If not specified will not pass in with query and will use default value from the memegenerator's api - 0.
pageSize
Type: number
Page size of the requested result set. If not specified will not pass in with query and will use default value from the memegenerator's api - 12.
License
MIT