【文件属性】:
文件名称:apigiphy:Giphy API 变得简单
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-07 13:23:31
JavaScript
灵长类动物
Giphy API 变得简单。
Giphy API 请求的节点实现。 查看了解更多信息。
安装
npm install --save apigiphy
用法
var giphy = require ( 'apigiphy' ) ;
giphy = giphy ( { api_key : YOUR_GIPHY_API_KEY } ) ;
giphy . random ( { tag : "flip the table" } )
. then ( function ( response ) {
console . log ( response . data . image_original_url ) ;
// http://s3.amazonaws.com/giphymedia/media/2jlDkaipGfgGc/200_d.gif
} , function (
【文件预览】:
apigiphy-master
----lib()
--------index.js(3KB)
----.npmignore(11B)
----.travis.yml(75B)
----example()
--------simple.js(760B)
----LICENSE(1KB)
----README.md(2KB)
----Makefile(206B)
----tests()
--------config.js(41B)
--------test.js(2KB)
----.gitignore(587B)
----package.json(767B)