with Docparser and Diffchecker?
Emit new event every time a document is processed and parsed data is available. See the documentation
Fetches a document from a provided URL and imports it to Docparser for parsing. See the documentation
Compares two PDFs and returns the result. See the documentation
Uploads a document to docparser that initiates parsing immediately after reception. See the documentation
Compares two pieces of text and returns the result. See the documentation
Docparser is a tool for extracting data from documents, such as PDFs, Word, and images. With the Docparser API, you can automate the process of capturing data without manual entry, transforming documents into actionable information. It shines in scenarios where structured information needs to be pulled from files that typically require manual data entry, such as invoices, forms, and reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docparser: {
type: "app",
app: "docparser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.docparser.com/v1/ping`,
auth: {
username: `${this.docparser.$auth.api_key}`,
password: ``,
},
})
},
})
The Diffchecker API allows you to compare differences between texts, images, PDFs, and other files programmatically, providing an automated way to spot changes or inconsistencies. Leveraging this API within Pipedream workflows can automate diff tasks, alerting you to changes, syncing content across platforms, or maintaining consistency in code or document versions. Pipedream's ability to connect to various services and trigger workflows based on numerous events makes it an excellent tool for integrating Diffchecker in a variety of scenarios.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
diffchecker: {
type: "app",
app: "diffchecker",
}
},
async run({steps, $}) {
const data = {
"left": `roses are red violets are blue`,
"right": `roses are green violets are purple`,
"diff_level": `word`,
}
return await axios($, {
method: "post",
url: `https://${this.diffchecker.$auth.environment}.diffchecker.com/public/text`,
headers: {
"Content-Type": `application/json`,
},
params: {
output_type: `json`,
email: `${this.diffchecker.$auth.email}`,
},
data,
})
},
})