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.0.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for mediacatch_s2t-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c936d3530df715fd93319a2c27ca3794c256c558000913c5c78ea4caa6f73e00 |
|
MD5 | f5723f7c1799e8ba4f9b99fb00807e5e |
|
BLAKE2b-256 | 61c4022a480b05b22bcda5dbdd3f364f3d24538678744dbad08f492c1c29f2f4 |