Listing entries from a custom column

Given knowledge of the column numbers of custom columns, one can output the data for each column with  Download list-custom-column-entries.py

First we get the list of ids of the custom columns:

 ./list-custom-columns.py 11
'Sat Nov 26 15:24:25 2016'
[{'teacher_notes': True, 'hidden': False, 'id': 7, 'title': 'Notes', 'position': 1}, {'teacher_notes': False, 'hidden': False, 'id': 6, 'title': 'PROJ1', 'position': 2}]
'Sat Nov 26 15:24:25 2016'
'\n--DONE--\n\n'

Get the entries as shown in the examples below:

./list-custom-column-entries.py 11 6
'Sat Nov 26 15:38:15 2016'
[{'content': 'A', 'user_id': 208}]
'Sat Nov 26 15:38:15 2016'
'\n--DONE--\n\n'

./list-custom-column-entries.py 11 7
'Sat Nov 26 15:38:45 2016'
[{'content': 'Just a short note about this dummy student.', 'user_id': 208}]
'Sat Nov 26 15:38:46 2016'
'\n--DONE--\n\n'

For more about the custom column API see James Jones note on Apr 29, 2015 11:36 AM https://community.canvaslms.com/thread/1542 Links to an external site.