Wordpress.org

Self hosted Wordpress

Integrate the Wordpress.org API with the Python API

Setup the Wordpress.org API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Wordpress.org and Python remarkably fast. Free for developers.

Create Post with the Wordpress.org API

Creates a post. See the docs here

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Create User with the Wordpress.org API

Creates a user. See the docs here

 
Try it
Search Posts with the Wordpress.org API

Searches for specific posts. See the docs here

 
Try it
Update Post with the Wordpress.org API

Updates a post specified by its ID. See the docs here

 
Try it

Connect Wordpress.org

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    wordpress_org: {
      type: "app",
      app: "wordpress_org",
    }
  },
  async run({steps, $}) {
    const data = {
      "title": `New Title`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.wordpress_org.$auth.url}/wp-json/wp/v2/posts/POST_ID`,
      auth: {
        username: `${this.wordpress_org.$auth.username}`,
        password: `${this.wordpress_org.$auth.application_password}`,
      },
      data,
    })
  },
})

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}