with Yodiz 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 Yodiz API offers powerful ways to automate project management tasks, streamline issue tracking, and enhance team collaboration. By leveraging Pipedream's capabilities, you can create intricate workflows that react to project updates, synchronize data with other apps, and manage tasks without manual intervention. With access to Yodiz's endpoints, you can automate notifications, integrate with external databases, or even orchestrate complex cross-application workflows. It's a playground for developers looking to optimize their project management operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yodiz: {
type: "app",
app: "yodiz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.yodiz.com/api/rest/v1/projects?fields=all`,
headers: {
"api-key": `${this.yodiz.$auth.api_key}`,
"api-token": `${this.yodiz.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})