index.js
function (options, callback) {
    if (!options) {
      return _handleErr('Translate phrase cannot be empty.', callback);
    }

    return this._request({
      api: options.api || 'gifs',
      endpoint: 'translate',
      query: typeof options === 'string' ? {
        s: options
      } : options
    }, callback);
  }
function (options, callback) {
    if (!options) {
      return _handleErr('Translate phrase cannot be empty.', callback);
    }

    return this._request({
      api: options.api || 'gifs',
      endpoint: 'translate',
      query: typeof options === 'string' ? {
        s: options
      } : options
    }, callback);
  }
function ( options , callback ) { if ( ! options ) { return _handleErr ( 'Translate phrase cannot be empty.' , callback ) ; } return this . _request ( { api : options . api || 'gifs' , endpoint : 'translate' , query : typeof options === 'string' ? { s : options } : options } , callback ) ; }
Search for Giphy gifs by phrase with Gify vocabulary

@param options Giphy API translate options
options.s {String} - term or phrase to translate into a GIF
options.rating {String} - limit results to those rated (y,g, pg, pg-13 or r).
options.fmt {String} - (optional) return results in html or json format (useful for viewing responses as GIFs to debug/test)
Search for Giphy gifs by phrase with Gify vocabulary