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.1.0.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for mediacatch_s2t-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3789093a8a420f7b9423e2eb3116b013303e28c9a73684274354588f51fdbda |
|
MD5 | 2cd9ecbd22d83ccfc5e8f71ed3c2ec8c |
|
BLAKE2b-256 | 0bc2fdd9827b13cfa5ffa95992220b7d0a6da301019d0d0b599ea2ac2cadf4fc |