with Qualiobee and Rinkel?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qualiobee: {
type: "app",
app: "qualiobee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.beehelp.fr/api/${this.qualiobee.$auth.organizationUuid}/learner`,
headers: {
Authorization: `Bearer ${this.qualiobee.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})