with iScraper and Chat Data?
Create a chatbot with the specified properties. See the documentation
Get status of the Chatbot with the specified ID. See the documentation
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chat_data: {
type: "app",
app: "chat_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chat-data.com/api/v2/current-plan`,
headers: {
Authorization: `Bearer ${this.chat_data.$auth.api_key}`,
},
})
},
})