with Piggy and Blogger?
Creates and publishes a new post or creates a new post as a draft. See the docs here
Permanently removes a post (the deleted post cannot be restored anymore) See the docs here
The Piggy API provides a suite of loyalty and reward services allowing businesses to manage customer loyalty programs, offer discounts, and track customer engagement. With Pipedream, you can harness this powerful API to automate various aspects of your loyalty program. You might sync loyalty data with other business systems, trigger emails or notifications based on customer actions, or generate reports on the effectiveness of your loyalty campaigns.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
piggy: {
type: "app",
app: "piggy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.piggy.eu/api/v3/oauth/clients/contacts`,
headers: {
Authorization: `Bearer ${this.piggy.$auth.api_key}`,
},
})
},
})
The Blogger API grants the power to manage your blog's content, comments, and settings programmatically. With Pipedream, you can automate content creation, streamline publishing workflows, and integrate your blog with a multitude of other services to expand its capabilities. Think real-time content updates from social media inputs, analytics-driven publishing, or automated content syndication. Harness the Blogger API on Pipedream to craft dynamic blogging ecosystems that respond to your audience's engagement and your creative inputs, keeping your content fresh and your operations efficient.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
blogger: {
type: "app",
app: "blogger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/blogger/v3/users/self`,
headers: {
Authorization: `Bearer ${this.blogger.$auth.oauth_access_token}`,
},
})
},
})