with Membado and BuySellAds?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
membado: {
type: "app",
app: "membado",
}
},
async run({steps, $}) {
const data = {
"apikey": `${this.membado.$auth.api_key}`,
"mail": `sergio@pipekit.com`,
}
return await axios($, {
method: "post",
url: `https://www.membado.io/api/${this.membado.$auth.user_identifier}/add-member`,
headers: {
"content-type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
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}`,
},
})
},
})