with Alteryx Analytics Cloud and GoTo Meeting?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alteryx_analytics_cloud: {
type: "app",
app: "alteryx_analytics_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.alteryx_analytics_cloud.$auth.region}.alteryxcloud.com/v4/people/current`,
headers: {
Authorization: `Bearer ${this.alteryx_analytics_cloud.$auth.oauth_access_token}`,
},
})
},
})
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`,
},
})
},
})