Fast and reliable screenshot API built to handle millions of screenshots a month.
Takes and returns an animated screenshot of the given site with specified options. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Takes and returns a screenshot of the given site with specified options. See the documentation
ScreenshotOne API allows you to capture screenshots of web pages programmatically. It's a powerful tool you can leverage within Pipedream workflows to automate the process of taking screenshots, whether it's for archiving content, monitoring changes on websites, or capturing data for reporting. By combining ScreenshotOne with Pipedream's capabilities, you can easily integrate screenshot functionalities into multifaceted workflows, triggering actions in other apps, storing images, or processing the data further.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshotone: {
type: "app",
app: "screenshotone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.screenshotone.com/take`,
headers: {
"Content-Type": `application/json`,
},
params: {
url: `{{your_url}}`,//such as https://pipedream.com
access_key: `${this.screenshotone.$auth.access_key}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})