with HigherGov and Screenshot API?
Emit new event when a pursuit is added to the pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
highergov: {
type: "app",
app: "highergov",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.highergov.com/api-external/people`,
params: {
api_key: `${this.highergov.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshot_api: {
type: "app",
app: "screenshot_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://shot.screenshotapi.net/v3/screenshot`,
params: {
token: `${this.screenshot_api.$auth.api_key}`,
url: `https://google.com`,
output: `JSON`,
},
})
},
})