with Ory and HelpDocs?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ory: {
type: "app",
app: "ory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.console.ory.sh/projects`,
headers: {
Authorization: `Bearer ${this.ory.$auth.workspace_api_key}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpdocs: {
type: "app",
app: "helpdocs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpdocs.io/v1/category`,
headers: {
Authorization: `Bearer ${this.helpdocs.$auth.api_key}`,
},
})
},
})