code: public SearchFeed search(String query, int limit, int offset) throws GiphyException {
  	SearchFeed feed = null;
  
  	HashMap<String, String> params = new HashMap<String, String>();
  
  	params.put("api_key", apiKey);
  	params.put("q", query);
  	if (limit > 100) {
  	    params.put("limit", "100");
  	} else {
  	    params.put("limit", limit + "");
  	}
  	params.put("offset", offset + "");
  
  	Request request = new Request(UrlUtil.buildUrlQuery(SearchEndpoint, params));
  
  	try {
  	    Response response = sender.sendRequest(request);
  	    feed = gson.fromJson(response.getBody(), SearchFeed.class);
  	} catch (JsonSyntaxException | IOException e) {
  	    log.error(e.getMessage(), e);
  	    throw new GiphyException(e);
  	}
  
  	return feed;
      }
docs: Search all Giphy GIFs for a word or phrase and returns a SearchFeed
  object.
  
  <p>
  Be aware that not every response has all information available. In that
  case the value will be returned as null.
  
  @param query
  the query parameters. Multiple parameters are separated by a
  space
  @param limit
  the result limit. The maximum is 100.
  @param offset
  the offset
  @return the SearchFeed object
  @throws GiphyException
  if an error occurs during the search