PublisherKit

PublisherKit helps you to auto-generate News Articles, Social Media Visuals and more.

Integrate the PublisherKit API with the Python API

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

Run Python Code with Python API on New Template Created from PublisherKit API
PublisherKit + Python
 
Try it
New Template Created from the PublisherKit API

Emit new event when a new template is created within your PublisherKit account. See the documentation

 
Try it
Create Image with the PublisherKit API

Generates a new image within PublisherKit. See the documentation

 
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

Overview of PublisherKit

The PublisherKit API offers a suite of tools for digital content management, including the ability to manage and distribute various multimedia content like articles, videos, and podcasts. Integrating this API with Pipedream allows you to automate content workflows, sync data across platforms, and react to events in real-time. For instance, you could automatically publish scheduled content, analyze content performance, or update cross-platform content statuses.

Connect PublisherKit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    publisherkit: {
      type: "app",
      app: "publisherkit",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.publisherkit.com/v1/auth`,
      headers: {
        Authorization: `Bearer ${this.publisherkit.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

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}}