Verifies downtime from multiple locations
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go 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,
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}