https://github.com/adrienjoly/classroom-assignments-cli
👩🎓 a CLI to download assignements submitted by students on Google Classroom
https://github.com/adrienjoly/classroom-assignments-cli
cli google-classroom
Last synced: 6 months ago
JSON representation
👩🎓 a CLI to download assignements submitted by students on Google Classroom
- Host: GitHub
- URL: https://github.com/adrienjoly/classroom-assignments-cli
- Owner: adrienjoly
- Created: 2020-02-11T11:52:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T14:43:05.000Z (almost 3 years ago)
- Last Synced: 2025-04-13T20:49:14.667Z (6 months ago)
- Topics: cli, google-classroom
- Language: JavaScript
- Homepage:
- Size: 779 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `gclass` – Google Classroom Assignments CLI
Fetches courses, students, assignments and student-submitted URLs from Google Classroom API.

Forked from [adrienjoly/classroom-submissions-to-pdf](https://github.com/adrienjoly/classroom-submissions-to-pdf).
## Usage
```sh
$ npx gclass list-courses # will list course_ids
$ npx gclass get-course # will display metadata about the course
$ npx gclass list-students
$ npx gclass list-assignments # will list assignment_ids
$ npx gclass list-submissions
$ npx gclass list-submitted-urls
$ npx gclass generate-test-script
```## Setup
Before running, don't forget to:
1. create an app and web client auth on [Google Developer Console](https://console.developers.google.com/);
2. and set the corresponding environment variables: `GCLA_CLIENT_ID`, `GCLA_CLIENT_SECRET` and `GCLA_REDIRECT_URL` (note: you can store them in a `.env` file)All `npm` scripts that can be used are listed in the `package.json` file.
## Run tests
```sh
$ git clone https://github.com/adrienjoly/classroom-assignments-cli.git
$ cd classroom-assignments-cli
$ npm install
$ npm test # => tests the Google API
```