with Gather and Mailosaur?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gather: {
type: "app",
app: "gather",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gather.town/api/getEmailGuestlist`,
params: {
spaceId: `${this.gather.$auth.space_id}`,
apiKey: `${this.gather.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailosaur: {
type: "app",
app: "mailosaur",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mailosaur.com/api/servers`,
auth: {
username: `api`,
password: `${this.mailosaur.$auth.api_key}`,
},
})
},
})