Ghost.org (Admin API)

Open source publishing platform

Integrate the Ghost.org (Admin API) API with the Go API

Setup the Ghost.org (Admin API) API trigger to run a workflow which integrates with the Go API. Pipedream's integration platform allows you to integrate Ghost.org (Admin API) and Go remarkably fast. Free for developers.

Run Go Code with Go API on Member Deleted (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Go
 
Try it
Run Go Code with Go API on Member Updated (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Go
 
Try it
Run Go Code with Go API on New Member Created (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Go
 
Try it
Run Go Code with Go API on Page Published (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Go
 
Try it
Run Go Code with Go API on Post Published (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Go
 
Try it
Member Deleted (Instant) from the Ghost.org (Admin API) API

Emit new event each time a member is deleted from a site.

 
Try it
Member Updated (Instant) from the Ghost.org (Admin API) API

Emit new event each time a member is updated.

 
Try it
New Member Created (Instant) from the Ghost.org (Admin API) API

Emit new event for each new member added to a site.

 
Try it
Page Published (Instant) from the Ghost.org (Admin API) API

Emit new event for each new page published on a site.

 
Try it
Post Published (Instant) from the Ghost.org (Admin API) API

Emit new event for each new post published on a site.

 
Try it
Create Member with the Ghost.org (Admin API) API

Create a new member in Ghost. See the docs here

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it
Create post with the Ghost.org (Admin API) API

Create a post. See the docs here.

 
Try it
Update Member with the Ghost.org (Admin API) API

Update a member in Ghost. See the docs here

 
Try it

Connect Ghost.org (Admin API)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = defineComponent({
  props: {
    ghost_org_admin_api: {
      type: "app",
      app: "ghost_org_admin_api",
    }
  },
  async run({steps, $}) {
    const GhostAdminAPI = require('@tryghost/admin-api');
    const api = new GhostAdminAPI({
        url: this.ghost_org_admin_api.$auth.admin_api_url,
        key: this.ghost_org_admin_api.$auth.admin_api_key,
        version: 'v3'
    });
    return await api.users.browse()
  },
})

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}