with Crowd.dev and ServiceNow?
Crowd.dev is an API that enriches your understanding of your developer community by aggregating data from various platforms like GitHub, GitLab, and more. By connecting to Crowd.dev, you can track community activity, identify top contributors, and gauge the health of your open-source projects. Pipedream simplifies and amplifies the potential of the Crowd.dev API by allowing you to create automated workflows that respond to events in real-time, like new contributions, issues, or discussions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crowd_dev: {
type: "app",
app: "crowd_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.crowd.dev/api/auth/me`,
headers: {
Authorization: `Bearer ${this.crowd_dev.$auth.bearer_token}`,
},
})
},
})
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}`,
},
})
},
})