Similar to :method spreadsheets_get:`gspread.http_client.spreadsheets_get`, get the spreadsheet form the API but by default **does not get the cells data**. It only retrieve the the metadata from the spreadsheet. :param dict params: (optional) the HTTP params for the GET req
(
self, params: Optional[ParamsType] = None
)
| 216 | ) |
| 217 | |
| 218 | def fetch_sheet_metadata( |
| 219 | self, params: Optional[ParamsType] = None |
| 220 | ) -> Mapping[str, Any]: |
| 221 | """Similar to :method spreadsheets_get:`gspread.http_client.spreadsheets_get`, |
| 222 | get the spreadsheet form the API but by default **does not get the cells data**. |
| 223 | It only retrieve the the metadata from the spreadsheet. |
| 224 | |
| 225 | :param dict params: (optional) the HTTP params for the GET request. |
| 226 | By default sets the parameter ``includeGridData`` to ``false``. |
| 227 | :returns: The raw spreadsheet |
| 228 | :rtype: dict |
| 229 | """ |
| 230 | return self.client.fetch_sheet_metadata(self.id, params=params) |
| 231 | |
| 232 | def get_worksheet(self, index: int) -> Worksheet: |
| 233 | """Returns a worksheet with specified `index`. |
no outgoing calls
no test coverage detected