Skip to main content
You can get information about a file or directory using the files.getInfo() / files.get_info() methods. Information such as file name, type, and path is returned. Files can also carry custom user-defined metadata, which is returned in the metadata field — see Custom metadata.

Getting information about a file

Getting information about a directory