def gifs_categories_get(self, api_key, **kwargs):
        """
        Categories Endpoint.
        Returns a list of categories.
        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_categories_get(api_key, callback=callback_function)

        :param callback function: The callback function
            for asynchronous request. (optional)
        :param str api_key: Giphy API Key. (required)
        :param int limit: The maximum number of records to return.
        :return: InlineResponse2003
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('callback'):
            return self.gifs_categories_get_with_http_info(api_key, **kwargs)
        else:
            (data) = self.gifs_categories_get_with_http_info(api_key, **kwargs)
            return data
Categories Endpoint.
        Returns a list of categories.
        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_categories_get(api_key, callback=callback_function)

        :param callback function: The callback function
            for asynchronous request. (optional)
        :param str api_key: Giphy API Key. (required)
        :param int limit: The maximum number of records to return.
        :return: InlineResponse2003
                 If the method is called asynchronously,
                 returns the request thread.