INNER CODE UNIT · Python
_fetch_info_on_items
Squarespace/datasheets · datasheets/client.py:188
def _fetch_info_on_items(self, kind, folder=None, name=None, only_mine=False,
fields='files(name,id,modifiedTime,webViewLink)'):
"""Return info on workbooks or folders shared with the user
Return a list of dicts, with each list representing one workbook or folder shared
with the user
Args:
kind (str): Either 'spreadsheet' or 'folder'
folder (str): An optional folder name to limit the results to
name (str): An optional file name to limit the results to
only_mine (bool): If True, only fetch items owned by the current user
fields (str): The fields to return in the results