文件名称:node-memecaptain-api:在NodeJS中实现的用于meme-captain的REST API
文件大小:7KB
文件格式:ZIP
更新时间:2024-05-22 21:57:15
JavaScript
MemeCaptain API 用法 var captainApi = require('node-memecaptain-api'); // get a page of image ids captainApi.getImagePage('search term', offsetPage=1).then(function({ids: ids, page: offsetPage}) { // do your own business }, function(err) { // handle error }); // get an array of `maxCount` source image ids, offset from page `offsetPage` captainApi.getImages('search term', maxCount=20, offsetP
【文件预览】:
node-memecaptain-api-master
----lib()
--------create-image.js(2KB)
--------get-images.js(3KB)
--------create-meme.js(3KB)
----.travis.yml(49B)
----test()
--------create-image.test.js(1KB)
--------get-images.test.js(2KB)
--------create-meme.test.js(961B)
----README.md(2KB)
----index.js(365B)
----package.json(569B)