Business software for small businesses, startups and self-employed individuals
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 bexio API offers a gateway to streamline administrative tasks linked with small business management. With this API, you can automate processes, sync data across platforms, and enhance efficiency by reducing manual input. Pipedream, with its serverless execution environment, lets you create complex workflows around bexio. You can automate invoicing, manage contacts, monitor projects, and integrate with other services like CRMs, email, and payment gateways.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bexio: {
type: "app",
app: "bexio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://office.bexio.com/api2.php/${this.bexio.$auth.oauth_uid}/company_profile`,
headers: {
Authorization: `Bearer ${this.bexio.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})