Some code to use the Canvas API to create and populate quizzes.
requests
How to use requests module to download files from sites.