Narcissistic Passion Minified
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    giphy-wrapperpublic

    node-giphy

    A wrapper for the giphy public API

    Usage

    Use to query the giphy api

    Get some fancy gifs already!

    Currently implemented:

    Search

    Do a search for keywords

    Params

    string keyword
    int limit (default 25, max 100)
    int offset
    string rating (default 'g' (y,g, pg, pg-13 or r))
    

    Recent

    Examples

     
    var giphy = require('giphy-wrapper')('YOUR_API_KEY');
     
    giphy.search('otters', 10, 0, 'g',function (err, data) {
        if (err) {
            // check error 
        }
     
        // use data, returns the data as an object 
    });

    Test

    make test

    Keywords

    install

    npm i giphy-wrapper

    Downloadsweekly downloads

    8

    version

    0.0.3

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar