Skip to content

adrienjoly/classroom-assignments-cli

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gclass – Google Classroom Assignments CLI

Fetches courses, students, assignments and student-submitted URLs from Google Classroom API.

Forked from adrienjoly/classroom-submissions-to-pdf.

Usage

$ npx gclass list-courses # will list course_ids
$ npx gclass get-course <course_id> # will display metadata about the course
$ npx gclass list-students <course_id>
$ npx gclass list-assignments <course_id> # will list assignment_ids
$ npx gclass list-submissions <course_id> <assignment_id>
$ npx gclass list-submitted-urls <course_id> <assignment_id>
$ npx gclass generate-test-script <course_id> <assignment_id>

Setup

Before running, don't forget to:

  1. create an app and web client auth on Google Developer Console;
  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

$ git clone https://github.com/adrienjoly/classroom-assignments-cli.git
$ cd classroom-assignments-cli
$ npm install
$ npm test        # => tests the Google API

About

πŸ‘©β€πŸŽ“ a CLI to download assignements submitted by students on Google Classroom

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published