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-2.0.0.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for mediacatch_s2t-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 366de23eb4fddf0df283428bb93a5ea49139d7f782f205050effc95be7c7ff67 |
|
MD5 | 8974282955957fe1cc9c3d3f3c452705 |
|
BLAKE2b-256 | 21f3768a0a663c12f349ac2f6ac242da3a5d8a03f379338e7bd66ab7e53acf6e |