with Gather and HelpDocs?
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: {
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}`,
},
})
},
})