Reputation: 1
I am making a website for a teacher and he wants to be able to take attendance easily and he wants me to use the google classroom api to access his roster in his class so that it can then display that list of names on the website and he can easily take attendance there
Upvotes: 0
Views: 5921
Reputation: 2608
Roster importing is a common use case we see with the Classroom API. Here's what the workflow typically looks like:
On each of the links above, you can use the API Explorer to see exactly how these methods behave. I also recommend you check the documentation for managing courses and students/teachers -- there are code snippets for a few different languages, including Python.
Hope this helps!
Upvotes: 4
Reputation: 6729
The best thing to start with is to navigate in the official documentation for Classroom API.
The Classroom API provides a RESTful interface for you to manage courses and rosters in Google Classroom.
For python, you can refer to the quickstart guide designed for Python implementation. See sample code.
To access students, use REST Resource: courses.students.
You will be able to use the supported methods such as create
, delete
, get
and list
.
Upvotes: 0