caterva2.File.get_download_url#
- File.get_download_url()#
Get the download URL for a file.
- Returns:
The download URL.
- Return type:
str
Examples
>>> import caterva2 as cat2 >>> root = cat2.Root('example', 'https://demo.caterva2.net') >>> file = root['ds-1d.b2nd'] >>> file.get_download_url() 'https://demo.caterva2.net/api/fetch/example/ds-1d.b2nd'