with screenshot.fyi and GoTo Meeting?
Takes a screenshot of a webpage using Screenshot.fyi. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshot_fyi: {
type: "app",
app: "screenshot_fyi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://screenshot.fyi/api/take`,
params: {
url: `https://pipedream.com`,
accessKey: `${this.screenshot_fyi.$auth.access_key}`,
},
})
},
})
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`,
},
})
},
})