file_download_url: Returns a direct download URL for a project's file

Description Usage Arguments Details Value Examples

Description

Returns a direct download URL for a project's file.

Usage

1
file_download_url(auth_token = NULL, project_id = NULL, file_id = NULL, ...)

Arguments

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

Details

You can use any HTTP client, or library to access or download the content once you get the URL.

Value

parsed list of the returned json

Examples

1
2
3
4
token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = file_download_url(token,
            project_id = '1c1d06d2-5862-48f6-b595-e0099b20937e',
            file_id = '530854e2e4b036506b803c7e')

road2stat/sbgr documentation built on March 9, 2021, 4:33 a.m.