ZeroTier

Use the easiest to manage and most widely supported network virtualization platform to connect all your devices, cloud VMs, and apps as if the whole world is one big cloud region!

Integrate the ZeroTier API with the Python API

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

Run Python Code with Python API on New Node Join from ZeroTier API
ZeroTier + Python
 
Try it
Run Python Code with Python API on New Node Left from ZeroTier API
ZeroTier + Python
 
Try it
Run Python Code with Python API on New Node Offline from ZeroTier API
ZeroTier + Python
 
Try it
Run Python Code with Python API on New Node Online from ZeroTier API
ZeroTier + Python
 
Try it
New Node Join from the ZeroTier API

Emit new event when a node joins a network. See docs here

 
Try it
New Node Left from the ZeroTier API

Emit new event when a node left a network. See docs here

 
Try it
New Node Offline from the ZeroTier API

Emit new event for each offline node. See docs here

 
Try it
New Node Online from the ZeroTier API

Emit new event for each online node. See docs here

 
Try it
Authorize Network Member with the ZeroTier API

Authorize a specific member (node) in a network. See docs here

 
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
Create A Network with the ZeroTier API

Create a new network on your ZeroTier account. See docs here

 
Try it
Delete Network Member with the ZeroTier API

Delete a specific member (node) in a network. See docs here

 
Try it
Get Account Status with the ZeroTier API

Get the overall account status. Returns the overall status of the account tied to the API token in use. See docs here

 
Try it

Overview of ZeroTier

ZeroTier is a smart Ethernet switch for Earth. It's a global distributed network that connects devices, VMs, and apps with a simple, secure, and ubiquitous network fabric. The ZeroTier API allows you to manage networks, members, and access rules programmatically. With Pipedream's capabilities, you can automate interactions with ZeroTier, integrating it seamlessly with other apps and services to orchestrate complex workflows, react to events, or sync data across platforms.

Connect ZeroTier

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: {
    zerotier: {
      type: "app",
      app: "zerotier",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://my.zerotier.com/api/v1/org`,
      headers: {
        Authorization: `Bearer ${this.zerotier.$auth.api_token}`,
      },
    })
  },
})

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