with Dungeon Fighter Online and Bika.ai?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dungeon_fighter_online: {
type: "app",
app: "dungeon_fighter_online",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dfoneople.com/df/servers`,
params: {
apikey: `${this.dungeon_fighter_online.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bika_ai: {
type: "app",
app: "bika_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bika.ai/api/openapi/bika/v1/system/meta`,
headers: {
Authorization: `Bearer ${this.bika_ai.$auth.api_token}`,
"content-type": `application/json`,
},
})
},
})