Last active
February 18, 2019 00:22
-
-
Save kbridbur/f18bdfb464b9d65fb87fa808755ab256 to your computer and use it in GitHub Desktop.
Use the Rev.ai API with curl!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Send an audio file to Rev.ai | |
curl -X POST "https://api.rev.ai/revspeech/v1beta/jobs" | |
-H "Authorization: Bearer <access_token>" | |
-H "Content-Type: application/json" | |
-d "{\"media_url\":\"rev.cm/FTC_Sample_1_-_Single"}" | |
// Retrieve your transcript | |
curl -X GET "https://api.rev.ai/revspeech/v1beta/jobs/{id}/transcript" | |
-H "Authorization: Bearer <access_token>" | |
-H "Accept: application/vnd.rev.transcript.v1.0+json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment