Google Classroom helps educators create engaging learning experiences they can personalize, manage, and measure.
Emit new event when an assignment in a course is marked as done.
Emit new event when an assignment's due date is created or updated'.
Emit new event when a new batch is completed in OpenAI. See the documentation
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
Retrieve information about an assignment. See the docs here
Summarizes text using the Chat API. See the documentation
Retrieve a list of assignments for a course. See the documentation
Classify items into specific categories using the Chat API. See the documentation
The Google Classroom API lets you tap into the educational space by managing courses, assignments, and student interactions programmatically. With this API, you can automate course creation, roster management, and content distribution, effectively bridging the gap between various educational tools and platforms. Leveraging Pipedream's serverless execution environment, you can build powerful workflows that respond to events in Classroom, sync data across platforms, and streamline the educational process for teachers and students alike.
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}`,
},
})
},
})
OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:
Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openai: {
type: "app",
app: "openai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openai.com/v1/models`,
headers: {
Authorization: `Bearer ${this.openai.$auth.api_key}`,
},
})
},
})