I'm looking to find a sheet via the Smartsheet api and all I have is the name of the sheet. I'm currently solving it like this
sheet_name = 'The sheet I have the name of'
sheets = ss_client.Sheets.list_sheets(include_all=True).data
sheet_id = next(sheet.id for sheet in sheets if sheet.name == sheet_name)
sheet_that_I_want = ss_client.Sheets.get_sheet(sheet_id)
There is a get_sheet method, but it's based of the sheet's id. I feel like there has to be a more direct way of doing this, but I'm not sure what it would be.