-1

I am new to google classroom API, I want to know whether API has one capability which full fill our requirement.

Requirement:

Assume that I have one button called courses on our own web application, when I click on the button it shows list of courses that I have, so now what I want know is can I put a button beside it so that when I click the button it should create google courses programatically with respective names.

Does google classroom API has that capability?

Thanks in advance.

2 Answers2

1

Depending on your use case, the Classroom Share button may be a simple solution. Otherwise you can call courses.list() with the studentId or teacherId parameter in order to get a list of courses for your account.

Jay Lee
  • 13,415
  • 3
  • 28
  • 59
  • I think the question was about creating courses, not listing. Listing is something prapoorn already had working. – Neal Gokli Jun 26 '18 at 22:10
1

The API contains a courses.create method which can be used to create courses.

mjs
  • 63,493
  • 27
  • 91
  • 122