with Dribbble 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 Dribbble API unlocks the design world of Dribbble, letting you tap into a community of graphic designers, illustrators, and artists. By integrating with the API via Pipedream, you can automate tasks like tracking user stats, exploring popular shots, and posting updates automatically. With Pipedream's no-code platform, you can connect Dribbble to hundreds of other apps to streamline your design workflow, get insights, and engage with the design community.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dribbble: {
type: "app",
app: "dribbble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dribbble.com/v2/user`,
headers: {
Authorization: `Bearer ${this.dribbble.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})