import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customjs: {
type: "app",
app: "customjs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.app.customjs.io/core/api-key/${this.customjs.$auth.api_key}`,
headers: {
"x-api-key": `${this.customjs.$auth.api_key}`,
"customjs-origin": `pipedream`,
},
})
},
})
Converts an HTML string to a PDF document. See the documentation
Converts an HTML string to a PNG image. See the documentation
Create a screenshot of a website. See the documentation
Merges multiple PDF documents into one. See the documentation
PDF Toolkit by CustomJS uses API keys for authentication. When you connect your PDF Toolkit by CustomJS account, Pipedream securely stores the keys so you can easily authenticate to PDF Toolkit by CustomJS APIs in both code and no-code steps.