def gifs_search_get(self, api_key, q, **kwargs):
        """
        Search Endpoint
        Search all Giphy GIFs for a word or phrase. Punctuation will be stripped and ignored. Use a plus or url encode for phrases. Example paul+rudd, ryan+gosling or american+psycho.
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please define a `callback` function
        to be invoked when receiving the response.
        >>> def callback_function(response):
        >>>     pprint(response)
        >>>
        >>> thread = api.gifs_search_get(api_key, q, callback=callback_function)

        :param callback function: The callback function
            for asynchronous request. (optional)
        :param str api_key: Giphy API Key. (required)
        :param str q: Search query term or prhase. (required)
        :param int limit: The maximum number of records to return.
        :param int offset: An optional results offset. Defaults to 0.
        :param str rating: Filters results by specified rating.
        :param str lang: Specify default country for regional content; use a 2-letter ISO 639-1 country code. See list of supported languages <a href = \"../language-support\">here</a>.
        :param str fmt: Used to indicate the expected response format. Default is Json.
        :return: InlineResponse200
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('callback'):
            return self.gifs_search_get_with_http_info(api_key, q, **kwargs)
        else:
            (data) = self.gifs_search_get_with_http_info(api_key, q, **kwargs)
            return data