with Junip 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 Junip API provides a powerful way to integrate customer reviews and testimonials into your business workflow. By leveraging the Junip API on Pipedream, you can automate the collection, moderation, and publication of customer feedback, ensuring your potential clients see the most relevant and influential reviews. It's a boon for businesses looking to enhance their social proof and build trust with their audience through automated, real-time review management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
junip: {
type: "app",
app: "junip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.juniphq.com/v1/stores`,
headers: {
"Junip-Store-Key": `${this.junip.$auth.store_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})