MySQL is an open-source relational database management system.
Use this endpoint to create new courses in your workspace. See the docs here
Create a user as a member of your campus or add an existing user to it. See the docs here
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});
Coassemble is a user-friendly training and development platform that lets you create and deliver online courses. The Coassemble API enables the automation of various eLearning tasks, such as user management, course enrollment, and tracking course progress. By leveraging this API within Pipedream, you can streamline educational operations, synchronize educational data with other systems, and create dynamic learning experiences by triggering actions based on course activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coassemble: {
type: "app",
app: "coassemble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.coassemble.$auth.domain}.coassemble.com/api/v1/members/${this.coassemble.$auth.user_id}`,
headers: {
"Authorization": `COASSEMBLE-V1-SHA256 UserId=${this.coassemble.$auth.user_id} UserToken=${this.coassemble.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})