with Itemize and Kraken.io?
The Itemize API enables automated processing and organization of receipts, invoices, and other financial documents. By harnessing machine learning, it extracts pertinent data such as dates, amounts, taxes, and vendor information, converting cluttered paperwork into structured data. This can be a boon for accounting, expense tracking, and financial auditing workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
itemize: {
type: "app",
app: "itemize",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sandbox.proapi.itemize.com/api/enterprise/v1/accounts/[ACCOUNT-ID]`,
auth: {
username: `${this.itemize.$auth.api_token}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kraken_io: {
type: "app",
app: "kraken_io",
}
},
async run({steps, $}) {
const data = {
"auth": {
"api_key": `${this.kraken_io.$auth.api_key}`,
"api_secret": `${this.kraken_io.$auth.api_secret}`
}
};
return await axios($, {
method: "post",
url: `https://api.kraken.io/user_status`,
headers: {
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})