-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: download user files #22
Comments
@Cyberes nicely done! Do you know if your code downloads files that this tool currently does not download? I thought that maybe the files listed under User Files are a collection of files from every course the user is enrolled in. So maybe the tool currently downloads all of the same files, but just organized in a different way. I no longer have access to Canvas so I can't confirm this, but maybe you can. Thanks! |
User files contain every file that a user has ever submitted, even for classes that can't be accessed anymore. Also holds misc. files from tools and whatever. |
Very cool. This would be a nice feature to add. While it might result in a lot of duplicate data, it would ensure that no files are missed. Perhaps it could be added as an optional task to run based on a configuration parameter. |
I also made sure files embedded in HTML were downloaded as well. For example, a module post page might have attached files. Find them: https://github.com/Cyberes/canvas-student-data-export/blob/master/module/api/file.py |
Canvas stores your submissions and other misc. files on the platform and it's pretty easy to download those using their API. Here's how I did it:
https://github.com/Cyberes/canvas-student-data-export/blob/master/module/user_files.py
The text was updated successfully, but these errors were encountered: