INNER CODE UNIT · Python
fetch_workbooks_info
Squarespace/datasheets · datasheets/client.py:336
def fetch_workbooks_info(self, folder=None):
"""Fetch information on all workbooks shared with this account
Args:
folder (str): An optional folder name to limit the results to
Returns:
pandas.DataFrame: One row per workbook listing workbook name, ID, most recent
modified time, and webview link to the workbook
"""
raw_info = self._fetch_info_on_items(kind='spreadsheet', folder=folder)
return pd.DataFrame(raw_info, columns=['name', 'id', 'modifiedTime', 'webViewLink'])