resource_export_extension Property
The file extension of the file format that the file resource will be exported as.
Syntax
def get_resource_export_extension(resource_index: int) -> str: ...
Default Value
""
Remarks
The file extension of the file format that the file resource will be exported as.
Some file resources are "export-only"; i.e., they're stored in Dropbox using a server-only file format, and get exported to a "normal" file format when download_file is called. For export-only file resources, this property reflects the file extension of the export file format; it is empty for all other resources.
When downloading an export-only file resource to a local_file, the class will automatically append the file extension reflected by this property, if necessary.
The resource_index parameter specifies the index of the item in the array. The size of the array is controlled by the resource_count property.
This property is read-only.