with ScrapeCreators and Formatting?
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
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})