with Grade.us 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 Grade.us API enables you to automate the collection and management of customer reviews. With this API, you can streamline review requests, responses, reporting, and alerting of reviews across different platforms. Integrating the Grade.us API with Pipedream allows you to create powerful workflows to manage your online reputation efficiently. You can trigger actions based on review events, analyze sentiment, connect with CRM systems, or initiate marketing campaigns based on the reviews collected.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grade_us: {
type: "app",
app: "grade_us",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://grade.us/api/v4/profiles`,
headers: {
"Authorization": `${this.grade_us.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})