with Zamzar and Cloudflare Browser Rendering?
Emit new event when a conversion job has completed. See the documentation
Emit new event when a file has been converted successfully. See the documentation
Emit new event as soon as a conversion job has been completed. See the documentation
Creates a file from the provided content. See the documentation
Fetches rendered HTML content from provided URL or HTML. See the documentation
Fetches rendered PDF from provided URL or HTML. See the documentation
Takes a screenshot of a webpage from provided URL or HTML. See the documentation
Finds the file that has been processed under the specified job id. See the documentation
The Zamzar API on Pipedream provides powerful file conversion capabilities, allowing you to easily automate the process of converting files between different formats. With Pipedream's serverless platform, you can set up workflows that trigger conversions, handle the completed files, and integrate with other services for a seamless automation experience. From document conversion for data analysis to prepping media files for different platforms, Zamzar's API coupled with Pipedream's robust functionality opens up a world of possibilities for streamlining tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zamzar: {
type: "app",
app: "zamzar",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zamzar.com/v1/account`,
auth: {
username: `${this.zamzar.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudflare_browser_rendering: {
type: "app",
app: "cloudflare_browser_rendering",
}
},
async run({steps, $}) {
const data = {
"url": `https://pipedream.com?via=go`,
}
return await axios($, {
method: "post",
url: `https://api.cloudflare.com/client/v4/accounts/${this.cloudflare_browser_rendering.$auth.account_id}/browser-rendering/content`,
headers: {
Authorization: `Bearer ${this.cloudflare_browser_rendering.$auth.api_token}`,
"content-type": `application/json`,
},
data,
})
},
})