with REIPro 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 REIPro API provides a suite of tools designed for real estate investors and professionals, enabling access to a wealth of property data, lead management, and marketing campaign functionalities. Leveraging the REIPro API within Pipedream, users can automate multifaceted real estate tasks, from syncing property information to various platforms, managing leads effectively, to executing timely follow-ups and nurturing campaigns. The API's capabilities can be harnessed to streamline operations, improve data accuracy, and connect various stages of the real estate investment lifecycle for enhanced decision-making and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reipro: {
type: "app",
app: "reipro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.myreipro.com/api/VerifyApiKey`,
params: {
ApiKey: `${this.reipro.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})