Upload a media file and get the transcription link.
Project description
MediaCatch Speech-To-Text Uploader
mediacatch-s2t is the MediaCatch service for uploading a file in python and get the transcription result in a link. This module requires python3.7 or above.
You can use it on your CLI
pip install mediacatch_s2t
python -m mediacatch_s2t <api_key> <path/to/your/media/file>
Or import it as a module
from mediacatch_s2t.uploader import upload_and_get_transcription
'''
The result will be a JSON object:
{
"url": "url-to-your-transcription",
"status": "uploaded",
"estimated_processing_time": "your-estimated-time-to-get-your-transcription-done",
"message": "The file has been uploaded."
}
'''
result = upload_and_get_transcription('path/to/your/media/file', 'api_key')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mediacatch-s2t-1.0.1.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for mediacatch_s2t-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f77fa898bfbfabd8a70f35599a2ae286ddc61e3503b86652cb7e868b01ffb2e |
|
MD5 | fea5ce9879d4bb9c773583b187fdd0c5 |
|
BLAKE2b-256 | e40ada7946546b9edb2e7d43800be20e428b2c3b8f12c2fd066f0a4099b67804 |