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}`,
},
})
},
})
Dungeon Fighter Online uses API keys for authentication. When you connect your Dungeon Fighter Online account, Pipedream securely stores the keys so you can easily authenticate to Dungeon Fighter Online APIs in both code and no-code steps.