The world's leading uptime monitoring service.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Using UptimeRobot API, you can build various tools and automation for server
monitoring, memory and performance tracking, and more. With fewer resources,
you can streamline the process of gathering insights to quickly identify
potential problems—freeing up more time to focus on delivering an optimal
service.
The UptimeRobot API can help you:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uptimerobot: {
type: "app",
app: "uptimerobot",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.uptimerobot.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.uptimerobot.com/v2/getAccountDetails`,
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
},
})