import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapecreators: {
type: "app",
app: "scrapecreators",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapecreators.com/v1/twitter/profile`,
headers: {
"x-api-key": `${this.scrapecreators.$auth.api_key}`,
},
params: {
handle: `pipedreamhq`,
},
})
},
})
Emit new event when a new profile is updated. See the documentation
Fetch a creator profile based on platform and handle or unique ID. See the documentation
Search for creators based on platform and query. See the documentation
ScrapeCreators uses API keys for authentication. When you connect your ScrapeCreators account, Pipedream securely stores the keys so you can easily authenticate to ScrapeCreators APIs in both code and no-code steps.