with 10,000ft by Smartsheet 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 10,000ft by Smartsheet API opens the door to managing project scheduling, resource allocation, and reporting in a programmatic fashion. This API allows you to automate the retrieval of project data, update assignments, track time and expenses, and generate real-time reports. By leveraging Pipedream's capabilities, you can create custom workflows that respond to events in 10,000ft, synchronize data across multiple systems, and streamline project management tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_10000ft: {
type: "app",
app: "_10000ft",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.10000ft.com/api/v1/users `,
headers: {
"auth": `${this._10000ft.$auth.token}`,
},
params: {
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})