with Breezy HR 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.
Breezy HR's API unlocks the power to streamline recruitment processes by automating routine tasks and integrating with a multitude of other apps. With this API on Pipedream, you can craft custom workflows to manage candidates, coordinate interview schedules, trigger communications, and track the hiring pipeline effortlessly. By harnessing data from Breezy HR, you can enhance efficiency, reduce manual errors, and keep the entire hiring team on the same page.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
breezy_hr: {
type: "app",
app: "breezy_hr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.breezy.hr/v3/user`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.breezy_hr.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})