with Simvoly 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 Simvoly API provides a toolkit for managing and automating tasks related to your Simvoly website. With this API, you can craft customized experiences, such as programmatically adding new products to an online store, managing customer data, and automating content updates. By leveraging Pipedream, you can integrate Simvoly with a vast array of other services, creating seamless data flow and event-driven automation that streamline your web operations and marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simvoly: {
type: "app",
app: "simvoly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.simvoly.$auth.subdomain}.simvoly.com/api/site/contacts`,
headers: {
Authorization: `Bearer ${this.simvoly.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})