with Rev.ai and Go?
Returns the transcript for a completed transcription job. Transcript can be returned as either JSON or plaintext format.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Starts an asynchronous job to transcribe speech-to-text for a media file. Add an optional callback URL to invoke when processing is complete.
Rev.ai offers speech recognition and transcription capabilities, making it possible to convert audio into text with high accuracy. This API provides developers access to advanced speech-to-text functions, allowing you to transcribe interviews, meetings, or any audio content quickly. Using Pipedream, these transcriptions can be integrated into workflows that trigger actions in other apps, enriching your data and automating repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rev_ai: {
type: "app",
app: "rev_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rev.ai/speechtotext/v1/account`,
headers: {
Authorization: `Bearer ${this.rev_ai.$auth.access_token}`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}