with npm and Wordpress.com?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
Emit new event for each new comment added since the last run. If no new comments, emit nothing.
Emit new event for each new follower that subscribes to the site.
Emit new event for each new post published since the last run. If no new posts, emit nothing.
Creates a new post on a WordPress.com site. See the documentation
Uploads a media file from a URL to the specified WordPress.com site. See the documentation
The Wordpress.com API empowers developers to extend and integrate their website's capabilities with custom automations and connections to a multitude of apps. Through Pipedream's serverless platform, you have the ability to automate content management tasks such as posting new articles, managing comments, and synchronizing users. This can streamline content workflows, enhance user engagement, and keep your site's data in sync with other services like social media, email marketing platforms, and analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wordpress_com: {
type: "app",
app: "wordpress_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.wordpress.com/rest/v1.1/me`,
headers: {
Authorization: `Bearer ${this.wordpress_com.$auth.oauth_access_token}`,
},
})
},
})