-2

How can I post an image or simple text on the Google Classroom with python (with or without API)?

I've tried to see reference but didn't find anything with python.

Meraj al Maksud
  • 1,528
  • 2
  • 22
  • 36

1 Answers1

0

Here you can see the documentation. You must inform path parameter courseId and body, something like that:

{
  "materials": [
    {
      "youtubeVideo": {
        "id": "w4TJmrOVas4"
      }
    }
  ],
  "text": "Students: see link for my new neurohealth class."
}
Valtoni Boaventura
  • 1,519
  • 12
  • 13