with Memix and Formatting?
Generate a Memix share URL with a random template using the supplied caption. See the docs here
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Generate a Memix share URL with a random template using the supplied caption
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memix: {
type: "app",
app: "memix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.memix.com/v1/templates/doge`,
headers: {
"accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})