Formerly known as Twitter. From breaking news and entertainment to sports and politics, get the full story with all the live commentary. Use a X developer app you've created to send API requests.
Emit new event when a transcribed audio file from AssemblyAI is ready. See the documentation
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
Retrieve Tweets from the last seven days that match a query. See the documentation
Export your completed transcripts in SRT (srt) or VTT (vtt) format, which can be used for subtitles and closed captions in videos. See the documentation
Add a member to a list owned by the user. See the documentation
Fetches a specific transcribed result from the AssemblyAI API. See the documentation
The Twitter API on Pipedream enables you to automate interactions with Twitter, from posting tweets to analyzing social media trends. Pipedream's serverless platform provides the tools to create workflows that trigger on specific Twitter activities, process data, and connect with countless other apps for extensive automation scenarios. With Pipedream's integration, you can listen for events such as new tweets, mentions, or followers, and execute actions like tweeting, retweeting, or even leveraging sentiment analysis to gauge public perception.
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
})
},
})
The AssemblyAI API provides powerful speech recognition and natural language processing capabilities. It allows users to transcribe audio, analyze sentiment, detect topics, and more. In Pipedream, you can leverage these features to create automated workflows that process audio and text data. Connect AssemblyAI to various apps and services, trigger actions based on the API's output, and build robust, serverless data pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
assemblyai: {
type: "app",
app: "assemblyai",
}
},
async run({steps, $}) {
const data = {
"audio_url": `{{your_audio_url}}`,
//for testing, try: https://storage.googleapis.com/aai-web-samples/espn-bears.m4a
}
return await axios($, {
method: "POST",
url: `https://api.assemblyai.com/v2/transcript`,
headers: {
"authorization": `${this.assemblyai.$auth.api_key}`,
},
data,
})
},
})