with linqs 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.
Linqs API provides a gateway to create and manage smart, digital business cards that can be shared effortlessly. With Linqs and Pipedream, you can build automation that streamlines networking and data collection. Automate the creation of digital cards for new employees, sync contact information with CRM platforms, or trigger custom actions when someone scans a card—options are diverse and tailored for modern, seamless connection-building.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linqs_cc: {
type: "app",
app: "linqs_cc",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://linqs.cc/api/user`,
headers: {
Authorization: `Bearer ${this.linqs_cc.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})