Codat's business data APIs connect banks and fintechs to all of the financial systems their customers use.
Emit new event when a specified event type is produced by Codat. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Codat API provides a way to seamlessly integrate and automate financial data processes for businesses. With Codat, you can connect to accounting software, extract company financials, and reconcile transactions in real-time. Whether it's for pulling recent invoices, syncing payment information, or consolidating financial reports, Codat's API acts as a bridge between various accounting platforms and your applications, enabling more efficient financial operations and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codat: {
type: "app",
app: "codat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.codat.io/profile`,
headers: {
"Authorization": `${this.codat.$auth.authorization_header}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})