Postman

Postman is the world's leading API platform.

Integrate the Postman API with the Python API

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

Run Python Code with Python API on New Monitor Run Completed from Postman API
Postman + Python
 
Try it
New Monitor Run Completed from the Postman API

Emit new event when a monitor run is completed. See the documentation

 
Try it
Create Environment with the Postman API

Creates a new environment in Postman. 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
Run Monitor with the Postman API

Run a specific monitor in Postman. See the documentation

 
Try it
Update Environment Variable with the Postman API

Updates a specific environment variable in Postman. See the documentation

 
Try it

Overview of Postman

The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.

Connect Postman

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    postman: {
      type: "app",
      app: "postman",
    }
  },
  async run({steps, $}) {
    const data = {
      "auth_token": `=user:NNNNNN`,
    }
    return await axios($, {
      url: `https://api.getpostman.com/me`,
      headers: {
        "X-Api-Key": `${this.postman.$auth.api_key}`,
      },
      data,
    })
  },
})

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