with Thinkific and Rinkel?
Thinkific's API opens a treasure trove of possibilities for automating and enhancing the e-learning experience. It provides programmatic access to your Thinkific site, allowing you to manage courses, users, enrollments, and more. With Pipedream's serverless platform, you can connect Thinkific to a multitude of other applications, automate tasks, sync data across various services, and trigger workflows based on specific events, all without writing a line of server code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
thinkific: {
type: "app",
app: "thinkific",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.thinkific.com/api/public/v1/courses`,
headers: {
"X-Auth-API-Key": `${this.thinkific.$auth.api_key}`,
"X-Auth-Subdomain": `${this.thinkific.$auth.subdomain}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rinkel: {
type: "app",
app: "rinkel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rinkel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-rinkel-api-key": `${this.rinkel.$auth.api_key}`,
},
})
},
})