with Finmo and Formatting?
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 Finmo API allows for the automation of financial monitoring and transactions. By leveraging the API on Pipedream, you can create serverless workflows to trigger actions based on financial events, synchronize data across multiple platforms, and generate reports or notifications. Pipedream's ability to connect with a vast array of services means you can integrate Finmo with other financial tools, CRMs, or communication platforms, creating a highly personalized and automated financial management system.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finmo: {
type: "app",
app: "finmo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finmo.net/v1/customer?type=individual`,
auth: {
username: `${this.finmo.$auth.access_key}`,
password: `${this.finmo.$auth.secret_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})