with GoTo Meeting and Pushinator?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goto_meeting: {
type: "app",
app: "goto_meeting",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getgo.com/identity/v1/Users/me`,
headers: {
Authorization: `Bearer ${this.goto_meeting.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushinator: {
type: "app",
app: "pushinator",
}
},
async run({steps, $}) {
const data = {
"channel_id": `${this.pushinator.$auth.channel_id}`,
"content": `Test notification content`,
}
return await axios($, {
method: "post",
url: `https://api.pushinator.com/api/v2/notifications/send`,
headers: {
Authorization: `Bearer ${this.pushinator.$auth.api_token}`,
},
data,
})
},
})