Faros helps DevOps professionals automate tasks with a single API
Emit new event when the specified User receives a Follower See the documentation
Emit new event when the specified User follows a List See the documentation
Emit new event when the specified User is mentioned in a Tweet See the documentation
Emit new event when a new Direct Message (DM) is received See the documentation
Emit new event when a Tweet is liked by the specified User See the documentation
Retrieve Tweets from the last seven days that match a query. See the documentation
Add a member to a list owned by the user. See the documentation
With Faros, you can build applications that can understand and respond to user
questions in natural language. These applications can range from chatbots to
virtual assistants and beyond. Some examples of what you can build with Faros
include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
faros: {
type: "app",
app: "faros",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.faros.ai/v0/admin/user/me`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.faros.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
import twitter from "@pipedream/twitter"
export default defineComponent({
props: {
twitter
},
async run({steps, $}) {
const config = {
url: `https://api.twitter.com/2/users/me`,
params: {
"user.fields": `created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified,withheld`,
expansions: `pinned_tweet_id`,
},
}
const headers = this.twitter._getAuthHeader(config)
return await axios($, {
...config,
headers
})
},
})