Google Classroom

Google Classroom helps educators create engaging learning experiences they can personalize, manage, and measure.

Integrate the Google Classroom API with the Discord Bot API

Setup the Google Classroom API trigger to run a workflow which integrates with the Discord Bot API. Pipedream's integration platform allows you to integrate Google Classroom and Discord Bot remarkably fast. Free for developers.

Get Assignment with Google Classroom API on New Message in Channel from Discord Bot API
Discord Bot + Google Classroom
 
Try it
List Assignments with Google Classroom API on New Message in Channel from Discord Bot API
Discord Bot + Google Classroom
 
Try it
Add Role with Discord Bot API on Assignment Done from Google Classroom API
Google Classroom + Discord Bot
 
Try it
Add Role with Discord Bot API on New Announcement from Google Classroom API
Google Classroom + Discord Bot
 
Try it
Add Role with Discord Bot API on New Assignment from Google Classroom API
Google Classroom + Discord Bot
 
Try it
Assignment Done from the Google Classroom API

Emit new event when an assignment in a course is marked as done.

 
Try it
New Message in Channel from the Discord Bot API

Emit new event for each message posted to one or more channels

 
Try it
New Announcement from the Google Classroom API

Emit new event when an announcement is created.

 
Try it
New Assignment from the Google Classroom API

Emit new event when an assignment is added to a course.

 
Try it
New Due Date from the Google Classroom API

Emit new event when an assignment's due date is created or updated'.

 
Try it
Get Assignment with the Google Classroom API

Retrieve information about an assignment. See the docs here

 
Try it
Add Role with the Discord Bot API

Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here

 
Try it
List Assignments with the Google Classroom API

Retrieve a list of assignments for a course. See the documentation

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Channel Invite with the Discord Bot API

Create a new invite for the channel. See the docs here

 
Try it

Overview of Google Classroom

With the Google Classroom API, you can manage your Google Classroom classes and
coursework. You can also use the API to create and manage announcements,
assignments, and student submissions.

Here are some example applications you could build with the Google Classroom
API:

  • A course management system that allows teachers to create and manage their
    courses online
  • An announcement system that allows teachers to post announcements to their
    classes
  • An assignment management system that allows teachers to create and manage
    assignments for their classes
  • A student submission system that allows teachers to view and grade student
    submissions

Connect Google Classroom

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_classroom: {
      type: "app",
      app: "google_classroom",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_classroom.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Discord Bot

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord_bot: {
      type: "app",
      app: "discord_bot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        "Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
      },
    })
  },
})