with Blizzard Battle.net and eGestor?
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    battle_net: {
      type: "app",
      app: "battle_net",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.battle_net.$auth.region}.api.blizzard.com/d3/data/item-type?locale=fr_FR`,
      headers: {
        Authorization: `Bearer ${this.battle_net.$auth.oauth_access_token}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    egestor: {
      type: "app",
      app: "egestor",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.egestor.com.br/api/v1/usuarios`,
      headers: {
        Authorization: `Bearer ${this.egestor.$auth.oauth_access_token}`,
      },
    })
  },
})