redivis.file

redivis.file(file_id) File

Create a reference to a non-tabular file based on its globally unique id. In most cases, the Table.list_files() method will be used instead.

Parameters:

file_id : str The globally unique reference to the file

Returns:

File

Examples

file = redivis.file("rnwk-acs3famee.pVr4Gzq54L3S9pblMZTs5Q")

download_location = file.download("./my-downloads")

# Do stuff with the file!
f = open(download_location, "r")

Last updated