Python get_columns response.

MikeG_O
MikeG_O
edited 07/01/22 in API & Developers

I am trying to find specific columns through the python api.

Running something like

listColumns = smartAPI.Sheets.get_columns(83053825###, include_all=True)

gives me the object and not the Field Name.

[<smartsheet.models.column.Column object at 0x000001FBBBD26C18>, <smartsheet.models.column.Column object at 0x000001FBBBD4D2B0>, <smartsheet.models.column.Column object at 0x000001FBBBD4D860>, <smartsheet.models.column.Column object at 0x000001FBBBD4DCF8>, <smartsheet.models.column.Column object at 0x000001FBBBD101D0>, <smartsheet.models.column.Column object at 0x000001FBBBD10668>, <smartsheet.models.column.Column object at 0x000001FBBBD10B00>, <smartsheet.models.column.Column object at 0x000001FBBBD10F98>, <smartsheet.models.column.Column object at 0x000001FBBBD13470>,

...]

How do I go about finding the Name?

Best Answer

Answers