Verifies downtime from multiple locations
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Uptime Robot is a monitoring service provider that offers an API to help
developers and businesses monitor their websites and services. With the Uptime
Robot API, developers can create custom solutions to check and monitor their
systems, as well as measure performance and detect downtime.
The Uptime Robot API can be used to build a variety of applications, from basic
website-monitoring tools to sophisticated alerting and reporting systems. Here
are some examples of the applications that you can build with the Uptime Robot
API:
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,
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})