Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# speechmatics_python
Example script (supported) to help you integrate with our API
# Legacy V1 Python Example

Example script (supported) to help you integrate with our legacy V1 API.

This code was developed and tested with Python 2.7.12 and Python 3.5.2

This is an example script for uploading audio files and saving the transcript in a .json file

> NOTE: For information on how to use the current Speechmatics Realtime ASR API v2,
> see [speechmatics-python](https://github.com/speechmatics/speechmatics-python) repository.
Comment thread
weakcamel marked this conversation as resolved.


## Requirements

You will need to have the requests module installed in your Python environment.

```
pip install requests
```
Expand All @@ -16,4 +23,4 @@ pip install requests
python ./speechmatics.py -a example.mp3 -l en-US -i $user_id -k $auth_token -o example.json
```

In this example the script uploads 'example.mp3', transcribes it using our en-US speech to text product and saves the resulting transcription as 'example.json' when the job has completed.
In this example the script uploads `example.mp3`, transcribes it using our en-US speech to text product and saves the resulting transcription as `example.json` file when the job has completed.