Play around with Giphy's api in node
Node Giphy is a simple wrapper around Giphy's api.
$ npm install giphy
First you will need to use the development api key to test. It is
dc6zaTOxFJmzC but do not use this for production.
Information about production keys here
var giphy = 'put key here' ;// orvar Giphy =giphy = 'put key here';
To see all available methods
- gifs ( multiple ids )
- gif ( single id )
all methods pretty much have same api.
giphy methodName options callback ;
so this url
would translate into
options object is optional as well, eg.
giphy uses the convention of error first then data. We also pass back some request information as well in the third argument