← Ghost.org (Content API)

New Author from Ghost.org (Content API) API

Pipedream makes it easy to connect APIs for Ghost.org (Content API) and 1000+ other apps remarkably fast.

Trigger workflow on
New Author from the Ghost.org (Content API) API
Next, do this
Connect to 1000+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 400,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Trigger a workflow on New Author with Ghost.org (Content API) API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Author trigger
    1. Connect your Ghost.org (Content API) account
    2. Configure Polling schedule
  2. Add steps to connect to 1000+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Google Sheets
 
Try it
Get Film with SWAPI - Star Wars API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Airtable
 
Try it
Custom Request with HTTP / Webhook API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + HTTP / Webhook
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

New Author on Ghost.org (Content API)
Description:Emit new event for each new author added on a site.
Version:0.0.3
Key:ghost_org_content_api-new-author

Code

import constants from "../../common/constants.mjs";
import common from "../common/timer-based.mjs";

export default {
  ...common,
  type: "source",
  key: "ghost_org_content_api-new-author",
  name: "New Author",
  description: "Emit new event for each new author added on a site.",
  version: "0.0.3",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getResourceFn() {
      return this.ghostContentApi.getAuthors;
    },
    getResourceFnArgs() {
      return {
        params: {
          limit: constants.DEFAULT_LIMIT,
        },
      };
    },
    getResourceName() {
      return "authors";
    },
    generateMeta(resource) {
      return {
        id: resource.id,
        ts: Date.now(),
        summary: `Author ID ${resource.id}`,
      };
    },
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Ghost.org (Content API)ghostContentApiappThis component uses the Ghost.org (Content API) app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
Polling scheduletimer$.interface.timer

How often to poll the Feedbin API

Authentication

Ghost.org (Content API) uses API keys for authentication. When you connect your Ghost.org (Content API) account, Pipedream securely stores the keys so you can easily authenticate to Ghost.org (Content API) APIs in both code and no-code steps.

The Content API Key can be obtained by creating a new Custom Integration under the Integrations screen in Ghost Admin. There are details on connecting to the API in the Client Library page for Content API.

About Ghost.org (Content API)

Open source publishing platform

More Ways to Use Ghost.org (Content API)

Actions

Find author with the Ghost.org (Content API) API

Find an author. See the docs here.

 
Try it