简体   繁体   中英

How do i get the CourseWork class using the Java Google Classroom API?

Sorry if its a stupid question, but I cant find the answer anywhere. I'm new to the google classroom api.

How do I get the CourseWork instance out of a Course instance?

  1. Step: Use the method courses.list to list all your courses and the ids with https://developers.google.com/classroom/reference/rest/v1/courses/list

  2. Step: Use the id of the course you are interested in as courseId for the method courses.courseWork.list to list all the courseWork related to this course: https://developers.google.com/classroom/reference/rest/v1/courses.courseWork/list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM