dropbox_media: Stream data from Dropbox

Description Usage Arguments Value See Also Examples

Description

This function behaves very similar to dropbox_share. The difference is that this bypasses the Dropbox webserver, used to provide a preview of the file, so that you can effectively stream the contents of your media.

Usage

1
2
  dropbox_media(cred, path = NULL, curl = getCurlHandle(),
    ...)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

path

Path to object on Dropbox.

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

...

optional additional curl options (debugging tools mostly).

Value

list with URL to R object and expiration date/time.

See Also

dropbox_share

Examples

1
2
3
4
## Not run: 
dropbox_media(db_cred, '/data/file.csv')

## End(Not run)

karthik/rDrop documentation built on May 20, 2019, 7:22 a.m.