Uptime Robot

Verifies downtime from multiple locations

Integrate the Uptime Robot API with the Python API

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

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

Connect Uptime Robot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    uptime_robot: {
      type: "app",
      app: "uptime_robot",
    }
  },
  async run({steps, $}) {
    const data = {
      "api_key": `${this.uptime_robot.$auth.api_key}`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.uptimerobot.com/v2/getAlertContacts`,
      data,
    })
  },
})

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