with Dungeon Fighter Online and Formidable Forms?
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: {
formidable_forms: {
type: "app",
app: "formidable_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.formidable_forms.$auth.url}/wp-json/frm/v2/forms`,
auth: {
username: `${this.formidable_forms.$auth.api_key}`,
password: ``,
},
})
},
})