Hosted Wordpress
WordPress.com allows developers to create powerful applications and websites,
using the WordPress.com API. With the WordPress.com API, developers can create
custom applications and websites that integrate with the WordPress.com platform
in meaningful ways.
The WordPress.com API is accessible via REST, which allows developers to
interact with WordPress.com in a variety of ways. Additionally, developers can
extend the WordPress.com platform by creating custom plugins and themes.
Here are some examples of what you can build with the Wordpress.com API:
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})