Assignment API: 'submissions_download_url'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to programmatically download the zip file of all the assignment submissions. In the data from the Assignment API there is a field for 'submissions_download_url'. However, this url is not to a file. Instead, since it is the same url as seen on the 'Download Submissions' button in the GUI (https://[domain]/courses/[courseid]/assignments/[assignmentid]/submissions?zip=1) , I believe it is a webpage that runs javascript to create the file. When this page tries to open, it no longer has the authentication of the API token, thus my saved zip file is of the SSO page.
So my questions is: Has anyone been able to work out how to download the zip file of all submissions from an assignment?
I'm using python, but I assume the solution is not going to be language dependent.