with Givebutter 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 Givebutter API taps into the platform's fundraising capabilities, allowing developers to manage campaigns, track donations, and engage with supporters. It's designed for nonprofits and community organizations looking to automate their fundraising efforts and integrate with other services for a seamless workflow. By leveraging the Givebutter API on Pipedream, one can create custom automations that sync data between tools, send real-time notifications, and analyze fundraising activities without manual input, ensuring that resources are focused on the mission rather than administrative tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
givebutter: {
type: "app",
app: "givebutter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.givebutter.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.givebutter.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})