with Ory and Extensiv Integration Manager?
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: {
extensiv_integration_manager: {
type: "app",
app: "extensiv_integration_manager",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cartrover.com/v1/merchant/inventory`,
auth: {
username: `${this.extensiv_integration_manager.$auth.cartapi_api_user}`,
password: `${this.extensiv_integration_manager.$auth.cartapi_api_key}`,
},
})
},
})