with Bigpicture.io and Screenshot API?
The Bigpicture.io API allows you to enrich your customer data by collecting, unifying, and streaming it to different platforms. With Pipedream, you can automate workflows that trigger on events, manipulate and route data, and integrate with numerous other services. Leveraging Bigpicture.io's API within Pipedream's serverless platform can help you create real-time, data-driven workflows for personalized marketing, analytics, customer support, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigpicture_io: {
type: "app",
app: "bigpicture_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://company.bigpicture.io/v1/companies/find`,
headers: {
"Authorization": `${this.bigpicture_io.$auth.api_key}`,
},
params: {
domain: `pipedream.com`,
},
})
},
})
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`,
},
})
},
})