import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
badger_maps: {
type: "app",
app: "badger_maps",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://badgerapis.badgermapping.com/api/2/profiles/`,
headers: {
"Token": `${this.badger_maps.$auth.api_key}`,
},
})
},
})
Badger Maps uses API keys for authentication. When you connect your Badger Maps account, Pipedream securely stores the keys so you can easily authenticate to Badger Maps APIs in both code and no-code steps.
To connect Pipedream to Badger Maps, first make sure you've requested API access from the Badger Maps Support team. Once they've enabled API access,