github / gh-classroom

GitHub Classroom CLI Extension is a powerful and easy-to-use command line tool that enhances the functionality of the GitHub CLI, specifically tailored for educators using GitHub Classroom.
MIT License
75 stars 12 forks source link

Roster endpoints #48

Open shanep opened 9 months ago

shanep commented 9 months ago

Proposed endpoint

Add endpoints both get/put to mange the classroom roster.

Justification

This will allow roster management to be done on the cli instead of having to use the GUI.

gihanmarasingha commented 9 months ago

I don't know if I'm asking for the same thing, but I just want the ability to download a classroom roster via gh and/or the GitHub API. At least I don't want to have to use the GUI.

Is that possible at the moment? The only workaround I can see is to get the classroom URL using the API and then append roster.csv to get the URL of the roster download. But then I have to worry about authentication.

markpatterson27 commented 6 months ago

I'm also looking for an end point to download the roster, particularly within workflows.

sgbaird commented 1 month ago

A partial workaround is to look at the downloaded grades via gh classroom assignment-grades, but this only shows students who have submitted the assignment. Any updates or additional thoughts?