Hello,
I am using the search function in the Dropbox API for Python, and I need to be able to extract the path_lower variable from the SearchV2Result. Hopefully someone can help me with this.
My Code:
dbx.files_search_v2('Test')
Output:
SearchV2Result(cursor=NOT_SET, has_more=False, matches=[SearchMatchV2(highlight_spans=NOT_SET, match_type=SearchMatchTypeV2('filename', None), metadata=MetadataV2('metadata', FolderMetadata(id='id:CMgvcnxDzGAAAAAAAAAAVA', name='Test', parent_shared_folder_id=NOT_SET, path_display='/wyss-predictive-bioanalytics/Yianni/Test', path_lower='/wyss-predictive-bioanalytics/yianni/test', property_groups=NOT_SET, shared_folder_id=NOT_SET, sharing_info=FolderSharingInfo(no_access=False, parent_shared_folder_id='9501352096', read_only=False, shared_folder_id=NOT_SET, traverse_only=False))))])
Again, I would like to extract the path_lower variable, so in this case, it would be '/wyss-predictive-bioanalytics/yianni/test'. Thanks!