Nango

The open-source unified API.

Integrate the Nango API with the Python API

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

Create Integration with the Nango API

Create a new Integration. 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
Delete Connection with the Nango API

Deletes a Connection. See the Documentation

 
Try it
Get Connection with the Nango API

Returns a Connection. See the Documentation

 
Try it
List Connections with the Nango API

Returns a list of Connections. See the Documentation

 
Try it

Overview of Nango

The Nango API is a bridge for integrating with SaaS apps, smoothing out authentication and API call complexities. On Pipedream, you can harness Nango to automate interactions between various services without getting bogged down by the nuances of OAuth flows or API intricacies. Use Nango to authenticate once, and let Pipedream workflows handle the rest, executing tasks, syncing data, and triggering actions across apps efficiently.

Connect Nango

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    nango: {
      type: "app",
      app: "nango",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.nango.dev/config `,
      headers: {
        Authorization: `Bearer ${this.nango.$auth.nango_secret_key}`,
      },
    })
  },
})

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