with Updown.io and IPinfo.io?
Emit new event when a website check reports as down. See the documentation
Emit new event when a new webhook event occurs. See the documentation
Emit new event when an SSL certificate expiration is detected See the documentation
The Updown.io API allows you to interact programmatically with your website monitoring service. With this API, you can automate uptime checks, retrieve the status of your websites, manage checks, receive downtime alerts, and gather performance metrics. Integrating the Updown.io API with Pipedream enables you to create automated workflows that can respond to events, monitor services continuously, and connect with other apps to trigger actions based on the health and performance of your websites.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
updown_io: {
type: "app",
app: "updown_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://updown.io/api/nodes`,
params: {
"api-key": `${this.updown_io.$auth.api_key}`,
},
})
},
})
IPinfo.io API offers a fast and simple way to gather IP address data, such as geolocation, ISP details, and more. When used within Pipedream, this API becomes a powerful tool to enrich data workflows, trigger location-based actions, and analyze web traffic. With Pipedream's serverless platform, you can easily integrate IPinfo.io with numerous apps to create custom automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipinfo_io: {
type: "app",
app: "ipinfo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipinfo.io/8.8.8.8`,
headers: {
Authorization: `Bearer ${this.ipinfo_io.$auth.api_token}`,
},
})
},
})