We make the experience of generating PDFs for application developers not completely miserable.
Go to siteUsing the Api2pdf API, you can build applications that can generate PDF documents from a variety of input formats. For example, you could use the API to generate PDFs from HTML, Word documents, images, and so on.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api2pdf: {
type: "app",
app: "api2pdf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://v2.api2pdf.com/balance`,
params: {
apikey: `${this.api2pdf.$auth.api_key}`,
},
})
},
})
Api2pdf uses API keys for authentication. When you connect your Api2pdf account, Pipedream securely stores the keys so you can easily authenticate to Api2pdf APIs in both code and no-code steps.
To retrieve your API key,