dominos/api.py
def get_menu(self, store):
        '''
        Retrieve the menu from the selected store.

        :param Store store: A store.
        :return: The store menu.
        :rtype: Menu
        '''
        params = {
            'collectionOnly': not store.delivery_available,
            'menuVersion': store.menu_version,
            'storeId': store.store_id,
        }

        response = self.__get('/ProductCatalog/GetStoreCatalog', params=params)
        return Menu(response.json())
def get_menu(self, store):
        '''
        Retrieve the menu from the selected store.

        :param Store store: A store.
        :return: The store menu.
        :rtype: Menu
        '''
        params = {
            'collectionOnly': not store.delivery_available,
            'menuVersion': store.menu_version,
            'storeId': store.store_id,
        }

        response = self.__get('/ProductCatalog/GetStoreCatalog', params=params)
        return Menu(response.json())
def get_menu ( self , store ) : params = { 'collectionOnly' : not store . delivery_available , 'menuVersion' : store . menu_version , 'storeId' : store . store_id , } response = self . __get ( '/ProductCatalog/GetStoreCatalog' , params = params ) return Menu ( response . json ( ) )
Retrieve the menu from the selected store.

        :param Store store: A store.
        :return: The store menu.
        :rtype: Menu
Retrieve the menu from the selected store .