python/spoonacular/com/spoonacular/default_api.py
def search_menu_items(self, query, **kwargs):  # noqa: E501
        """Search Menu Items  # noqa: E501

        Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.search_menu_items(query, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str query: The search query. (required)
        :param float min_calories: The minimum amount of calories the menu item must have.
        :param float max_calories: The maximum amount of calories the menu item can have.
        :param float min_carbs: The minimum amount of carbohydrates in grams the menu item must have.
        :param float max_carbs: The maximum amount of carbohydrates in grams the menu item can have.
        :param float min_protein: The minimum amount of protein in grams the menu item must have.
        :param float max_protein: The maximum amount of protein in grams the menu item can have.
        :param float min_fat: The minimum amount of fat in grams the menu item must have.
        :param float max_fat: The maximum amount of fat in grams the menu item can have.
        :param float offset: The offset number for paging (between 0 and 990).
        :param float number: The number of expected results (between 1 and 10).
        :return: object
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.search_menu_items_with_http_info(query, **kwargs)  # noqa: E501
        else:
            (data) = self.search_menu_items_with_http_info(query, **kwargs)  # noqa: E501
            return data
Search Menu Items  # noqa: E501

        Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.search_menu_items(query, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str query: The search query. (required)
        :param float min_calories: The minimum amount of calories the menu item must have.
        :param float max_calories: The maximum amount of calories the menu item can have.
        :param float min_carbs: The minimum amount of carbohydrates in grams the menu item must have.
        :param float max_carbs: The maximum amount of carbohydrates in grams the menu item can have.
        :param float min_protein: The minimum amount of protein in grams the menu item must have.
        :param float max_protein: The maximum amount of protein in grams the menu item can have.
        :param float min_fat: The minimum amount of fat in grams the menu item must have.
        :param float max_fat: The maximum amount of fat in grams the menu item can have.
        :param float offset: The offset number for paging (between 0 and 990).
        :param float number: The number of expected results (between 1 and 10).
        :return: object
                 If the method is called asynchronously,
                 returns the request thread.
        
Search Menu Items  # noqa: E501
Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha.  # noqa: E501
This method makes a synchronous HTTP request by default.

:param async_req bool
:param str query: The search query. (required)
:param float min_calories: The minimum amount of calories the menu item must have.
:param float max_calories: The maximum amount of calories the menu item can have.
:param float min_carbs: The minimum amount of carbohydrates in grams the menu item must have.
:param float max_carbs: The maximum amount of carbohydrates in grams the menu item can have.
:param float min_protein: The minimum amount of protein in grams the menu item must have.
:param float max_protein: The maximum amount of protein in grams the menu item can have.
:param float min_fat: The minimum amount of fat in grams the menu item must have.
:param float max_fat: The maximum amount of fat in grams the menu item can have.
:param float offset: The offset number for paging (between 0 and 990).
:param float number: The number of expected results (between 1 and 10).
:return: object
If the method is called asynchronously,
returns the request thread.
Search Menu Items # noqa : E501 Search over 115 000 menu items from over 800 fast food and chain restaurants . For example McDonald ' s Big Mac or Starbucks Mocha . # noqa : E501 This method makes a synchronous HTTP request by default . : param async_req bool : param str query : The search query . ( required ) : param float min_calories : The minimum amount of calories the menu item must have . : param float max_calories : The maximum amount of calories the menu item can have . : param float min_carbs : The minimum amount of carbohydrates in grams the menu item must have . : param float max_carbs : The maximum amount of carbohydrates in grams the menu item can have . : param float min_protein : The minimum amount of protein in grams the menu item must have . : param float max_protein : The maximum amount of protein in grams the menu item can have . : param float min_fat : The minimum amount of fat in grams the menu item must have . : param float max_fat : The maximum amount of fat in grams the menu item can have . : param float offset : The offset number for paging ( between 0 and 990 ) . : param float number : The number of expected results ( between 1 and 10 ) . : return : object If the method is called asynchronously returns the request thread .
def search_menu_items(self, query, **kwargs):  
        """Search Menu Items  
        Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha.  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.search_menu_items(query, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param str query: The search query. (required)
        :param float min_calories: The minimum amount of calories the menu item must have.
        :param float max_calories: The maximum amount of calories the menu item can have.
        :param float min_carbs: The minimum amount of carbohydrates in grams the menu item must have.
        :param float max_carbs: The maximum amount of carbohydrates in grams the menu item can have.
        :param float min_protein: The minimum amount of protein in grams the menu item must have.
        :param float max_protein: The maximum amount of protein in grams the menu item can have.
        :param float min_fat: The minimum amount of fat in grams the menu item must have.
        :param float max_fat: The maximum amount of fat in grams the menu item can have.
        :param float offset: The offset number for paging (between 0 and 990).
        :param float number: The number of expected results (between 1 and 10).
        :return: object
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.search_menu_items_with_http_info(query, **kwargs)  
        else:
            (data) = self.search_menu_items_with_http_info(query, **kwargs)  
            return data
def search_menu_items ( self , query , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async_req' ) : return self . search_menu_items_with_http_info ( query , ** kwargs ) else : ( data ) = self . search_menu_items_with_http_info ( query , ** kwargs ) return data
Search Menu Items  # noqa: E501
Search over 115,000 menu items from over 800 fast food and chain restaurants.
Search Menu Items # noqa : E501 Search over 115 000 menu items from over 800 fast food and chain restaurants .
# noqa: E501 """Search Menu Items  # noqa: E501

        Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.search_menu_items(query, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str query: The search query. (required)
        :param float min_calories: The minimum amount of calories the menu item must have.
        :param float max_calories: The maximum amount of calories the menu item can have.
        :param float min_carbs: The minimum amount of carbohydrates in grams the menu item must have.
        :param float max_carbs: The maximum amount of carbohydrates in grams the menu item can have.
        :param float min_protein: The minimum amount of protein in grams the menu item must have.
        :param float max_protein: The maximum amount of protein in grams the menu item can have.
        :param float min_fat: The minimum amount of fat in grams the menu item must have.
        :param float max_fat: The maximum amount of fat in grams the menu item can have.
        :param float offset: The offset number for paging (between 0 and 990).
        :param float number: The number of expected results (between 1 and 10).
        :return: object
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # noqa: E501
self
query