with Drimify and Formatting?
Emit new event when application data has been collected. See the documentation
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.
Drimify offers a suite of tools to create engaging and interactive content like quizzes, games, and e-learning modules. With the Drimify API, you can automate the creation and management of these interactive elements, extract analytics, and personalize user experiences. On Pipedream, you can leverage these API capabilities to build serverless workflows that connect Drimify with other apps, streamlining processes like lead generation, user engagement tracking, and content updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drimify: {
type: "app",
app: "drimify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://endpoint.drimify.com/api/app_data_collections`,
headers: {
"X-AUTH-TOKEN": `${this.drimify.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})