Downloads all student submissions from a Google Classroom assignment.
- Create a Google Cloud API project.
- Enable the Google Classroom API and the Google Drive API on your Google Cloud API project.
- Setup an OAuth 2.0 consent screen with the following scopes:
- classroom.courses.readonly
- classroom.coursework.students
- classroom.rosters.readonly
- drive.readonly
- Create OAuth 2.0 credentials and save the configuration as
credentials.json
. - Install Google API requirements for Python:
python -m pip install -r requirements.txt
- Run the project:
python download_submissions.py
- Log in with your Google account, choose a classroom, and choose the assignment to download.