with Aimtell and BuySellAds?
The Aimtell API provides a suite of web push notification services that enable businesses to send targeted messages directly to their users' browsers. This functionality can be valuable for re-engaging users with personalized content, promoting time-sensitive offers, or providing critical updates. Using Pipedream, you can integrate Aimtell with various apps and services to automate the delivery of web push notifications based on triggers like new email subscribers, eCommerce events, or custom conditions defined by your own data sources.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aimtell: {
type: "app",
app: "aimtell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aimtell.com/prod/sites/`,
headers: {
"X-Authorization-Api-Key": `${this.aimtell.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})