I am trying to pull information from the Smartsheets API- I can successfully get values of the cells and column headings. I am not using the SDK for the site, as it was not working properly. There are attachments on some of the rows and I would like to download them and save them to my computer. 'attachments' looks like it should be a key value after I access the 'rows' key, but an error occurs saying that 'attachments' is not a key. How do I access an attachment on a row without using the SDK?
for d in range(n_rows):
print(data['rows'][d]['attachments']