from retab import Retab client = Retab() link = client.files.get_download_link("file_a1b2c3d4e5f6") print(f"URL: {link.download_url}") print(f"Expires in: {link.expires_in}") print(f"Filename: {link.filename}")
{ "download_url": "https://storage.googleapis.com/retab-files/...", "expires_in": "60 minutes", "filename": "invoice.pdf" }
"60 minutes"
Successful Response
The signed URL to download the file
The expiration time of the signed URL
The name of the file