with Helium (Console) and ServiceNow?
The Helium (Console) API serves as a gateway to the Helium network, a decentralized blockchain network for IoT devices. It enables you to interact with the network by fetching device data, managing hotspots, and tracking sensor activity. With Pipedream, you can automate workflows that respond to this data in real-time. This allows for the creation of complex IoT applications, such as automated alerts, data analysis, and integration with other services for enhanced functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helium: {
type: "app",
app: "helium",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://console.helium.com/api/v1/devices`,
headers: {
"key": `${this.helium.$auth.api_key}`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})