with Kraken.io and Meetstream AI?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kraken_io: {
type: "app",
app: "kraken_io",
}
},
async run({steps, $}) {
const data = {
"auth": {
"api_key": `${this.kraken_io.$auth.api_key}`,
"api_secret": `${this.kraken_io.$auth.api_secret}`
}
};
return await axios($, {
method: "post",
url: `https://api.kraken.io/user_status`,
headers: {
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})