Get full list of Canvas Users

MikeBrinkman
Community Participant

I'm working on a project using Python to get our user photos posted as avatars in Canvas. I have it working fine for a small list of users defined in a CSV file on my computer, so that's probably the biggest hurdle.

Our user photos are stored as 'SIS_ID.jpg', but to upload the user photos, we have to know the Canvas ID.  What I'd like to do is grab the full list of users from Canvas, then I can generate the CSV file used for the rest of the process. With the Canvas ID, I can write the lines of the file as 'canvasid, sisid.jpg, jpeg'.

It seems like this would be fairly easy to figure out, but I'm still new the the whole API concept.

0 Likes