with Notion (API Key) and ProProfs Quiz Maker?
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a database is created. See the documentation
Emit new event when a page is created or updated in the selected database. See the documentation
Emit new event when a page is created in the selected database. See the documentation
Emit new event when the selected page or one of its sub-pages is updated. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
Create a page from a database. See the documentation
Create a new page copied from an existing page block. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion_api_key: {
type: "app",
app: "notion_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
"Notion-Version": `2021-08-16`,
},
})
},
})
The ProProfs Quiz Maker API lets you manage quizzes, questions, and results programmatically. With it, you can automate the creation of quizzes, extract quiz data, and integrate quiz results with other systems. On Pipedream, you can create workflows that trigger on a specific event, such as a new quiz completion, and connect with hundreds of other apps to streamline your processes or enhance your data analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_quiz_maker: {
type: "app",
app: "proprofs_quiz_maker",
}
},
async run({steps, $}) {
const data = {
"token": `${this.proprofs_quiz_maker.$auth.api_key}`,
"username": `${this.proprofs_quiz_maker.$auth.username}`,
}
return await axios($, {
method: "post",
url: `https://www.proprofs.com/api/classroom/v1/reports/users/`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})