Description Usage Arguments Details Value Examples
Returns a direct download URL for a project's file.
1 | file_download_url(auth_token = NULL, project_id = NULL, file_id = NULL, ...)
|
auth_token |
auth token |
project_id |
ID of a project you want to access. |
file_id |
ID of a file you want to access. |
... |
parameters passed to sbgapi function |
You can use any HTTP client, or library to access or download the content once you get the URL.
parsed list of the returned json
1 2 3 4 | token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = file_download_url(token,
project_id = '1c1d06d2-5862-48f6-b595-e0099b20937e',
file_id = '530854e2e4b036506b803c7e')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.