with theMarketer and Robopost?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
themarketer: {
type: "app",
app: "themarketer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://t.themarketer.com/api/v1/unsubscribed_emails`,
params: {
"k": `${this.themarketer.$auth.rest_key}`,
"u": `${this.themarketer.$auth.customer_id}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
robopost: {
type: "app",
app: "robopost",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.robopost.app/v1/video-series`,
params: {
apikey: `${this.robopost.$auth.api_key}`,
search_text: `educational`,
limit: `10`,
},
})
},
})