with Zenventory and Browserbase?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zenventory: {
type: "app",
app: "zenventory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.zenventory.com/rest/inventory/items`,
auth: {
username: `${this.zenventory.$auth.api_key}`,
password: `${this.zenventory.$auth.api_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserbase: {
type: "app",
app: "browserbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserbase.com/v1/projects`,
headers: {
"x-bb-api-key": `${this.browserbase.$auth.api_key}`,
},
})
},
})