with Ninox and PDF-app.net?
Convert an image from a URL to a PDF File with PDF-app.net. See the documentation
Split a PDF into multiple PDFs containing the specified number of pages. See the documentation
The Ninox API allows you to interact programmatically with the Ninox database platform. By harnessing this API via Pipedream, you can automate data entry, synchronize databases with other apps, and trigger actions based on specific events within your Ninox tables. It facilitates bidirectional communication, ensuring your data flows seamlessly between Ninox and other services in your tech stack. From sending notifications based on Ninox triggers to processing and analyzing data from other sources within Ninox, the possibilities are extensive.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ninox: {
type: "app",
app: "ninox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ninox.com/v1/teams`,
headers: {
Authorization: `Bearer ${this.ninox.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf_app_net: {
type: "app",
app: "pdf_app_net",
}
},
async run({steps, $}) {
const data = {
"fileUrl": `https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf`,
"pagesPerSplit": `1`,
"async": `false`,
"fileName": `MyPDF`,
}
return await axios($, {
method: "post",
url: `https://api.pdf-app.net/splitt_PDF`,
headers: {
"Authorization": `${this.pdf_app_net.$auth.api_key}`,
},
data,
})
},
})