with Dungeon Fighter Online and Blotato?
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: {
blotato: {
type: "app",
app: "blotato",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://backend.blotato.com/v2/users/me`,
headers: {
"blotato-api-key": `${this.blotato.$auth.api_key}`,
"accept": `*/*`,
},
})
},
})