[ARCHIVED] How to read data from an Assignments object?

tg1802
Community Member

So at this link: https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.index

If you scroll down to where it says "An Assignment object looks like:", it looks like the Assignment object is a dictionary that's used to store data like names and due dates. How can I actually read the due date off of the object, because if I just say assignment["due_at"] to read it like a dictionary, it's a syntax error.

Labels (2)
0 Likes