with BuySellAds and Meetstream AI?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buysellads: {
type: "app",
app: "buysellads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://papi.buysellads.com/daily-stats`,
params: {
key: `${this.buysellads.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
meetstream_ai: {
type: "app",
app: "meetstream_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-meetstream-tst-hack.meetstream.ai/api/v1/bots/${this.meetstream_ai.$auth.bot_id}/status`,
headers: {
"authorization": `Token ${this.meetstream_ai.$auth.api_key}`,
},
})
},
})