with theMarketer and HelpDocs?
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: {
helpdocs: {
type: "app",
app: "helpdocs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpdocs.io/v1/category`,
headers: {
Authorization: `Bearer ${this.helpdocs.$auth.api_key}`,
},
})
},
})