with Logoraisr 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 Logoraisr API enables you to enhance images through advanced processing techniques. With Logoraisr, you can improve the quality of logos and graphics, making them sharper and ready for various use cases like branding, marketing, and design projects. When combined with Pipedream, you can automate image processing workflows, handling bulk image enhancements, integrating with cloud storage solutions, and connecting with other apps to streamline your graphic design operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logoraisr: {
type: "app",
app: "logoraisr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.logoraisr.com/rest-v1/processes/`,
headers: {
"Authorization": `Token ${this.logoraisr.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})