import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buysellads: {
type: "app",
app: "buysellads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://papi.buysellads.com/daily-stats`,
params: {
key: `${this.buysellads.$auth.api_key}`,
},
})
},
})
BuySellAds uses API keys for authentication. When you connect your BuySellAds account, Pipedream securely stores the keys so you can easily authenticate to BuySellAds APIs in both code and no-code steps.