with iScraper and ServiceNow?
The iScraper API is a powerful tool for extracting information from Instagram, making it possible to gather rich data sets from user profiles, hashtags, and posts. When leveraged through Pipedream, iScraper can become a part of diverse workflows, automating the collection of social media insights and integrating them with other services for analysis, reporting, or social media management. With Pipedream, you can create event-driven workflows that react to new data from iScraper, orchestrate data flow across multiple services, and handle complex tasks without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
iscraper: {
type: "app",
app: "iscraper",
}
},
async run({steps, $}) {
const data = {
"profile_id": `williamhgates`,
}
return await axios($, {
method: "post",
url: `https://api.iscraper.io/v2/profile-details`,
headers: {
"Content-Type": `application/json`,
"X-API-KEY": `${this.iscraper.$auth.api_key}`,
},
data,
})
},
})
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}`,
},
})
},
})