with Gather and Scrapeless?
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: {
scrapeless: {
type: "app",
app: "scrapeless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapeless.com/api/v1/me`,
headers: {
"x-api-token": `${this.scrapeless.$auth.api_key}`,
},
})
},
})