il2_rest/client.py
def download_single_document_at(self, locator, index, dst_path='./') :
        """
        Download document by position from the set of documents to a folder (default: current folder).

        Args:
            locator (:obj:`str`): A Documents Storage Locator.
            index (:obj:`int`): Index of the file.
            dst_path (:obj:`str`): Download the file to this folder.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> chain.download_single_document_at('EbAfcWGwCwzuiEtSwIwYQYIHy-g05CZl6jrcBAYuYRIe', 0, '/path/to/download/')
        """
        self.__rest._download_file(f"/documents/{locator}/{index}", dst_path=dst_path)
        return

        Download document by position from the set of documents to a folder (default: current folder).

        Args:
            locator (:obj:`str`): A Documents Storage Locator.
            index (:obj:`int`): Index of the file.
            dst_path (:obj:`str`): Download the file to this folder.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> chain.download_single_document_at('EbAfcWGwCwzuiEtSwIwYQYIHy-g05CZl6jrcBAYuYRIe', 0, '/path/to/download/')
        
Download document by position from the set of documents to a folder (default: current folder).
Download document by position from the set of documents to a folder ( default : current folder ) .
def download_single_document_at(self, locator, index, dst_path='./') :
        self.__rest._download_file(f"/documents/{locator}/{index}", dst_path=dst_path)
        return
def download_single_document_at ( self , locator , index , dst_path = './' ) : self . __rest . _download_file ( f"/documents/{locator}/{index}" , dst_path = dst_path ) return
Download document by position from the set of documents to a folder (default: current folder).
Download document by position from the set of documents to a folder ( default : current folder ) .
"""
        Download document by position from the set of documents to a folder (default: current folder).

        Args:
            locator (:obj:`str`): A Documents Storage Locator.
            index (:obj:`int`): Index of the file.
            dst_path (:obj:`str`): Download the file to this folder.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> chain.download_single_document_at('EbAfcWGwCwzuiEtSwIwYQYIHy-g05CZl6jrcBAYuYRIe', 0, '/path/to/download/')
        """
self
locator
index
dst_path
locator (
`str`): A Documents Storage Locator.
` str ` ) : A Documents Storage Locator .
index (
`int`): Index of the file.
` int ` ) : Index of the file .
dst_path (
`str`): Download the file to this folder.
` str ` ) : Download the file to this folder .
examples
>>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
>>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
>>> chain.download_single_document_at('EbAfcWGwCwzuiEtSwIwYQYIHy-g05CZl6jrcBAYuYRIe', 0, '/path/to/download/')
>>> node = RestNode ( cert_file = ' documenter . pfx ' cert_pass = ' password ' ) >>> chain = node . chain_by_id ( ' A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK - iDKE ' ) >>> chain . download_single_document_at ( ' EbAfcWGwCwzuiEtSwIwYQYIHy - g05CZl6jrcBAYuYRIe ' 0 ' / path / to / download / ' )