The official DaDaScribe API wrapper in Python.
The wrapper offers a CLI interface.
To start a job, for example:
$ dadascribe --source "link/to/youtube/or/path/to/file"
{
"status": "ok",
"id": "a7wuTaPrebOqheE0",
"count": 1
}Check a job status:
$ dadascribe --status a7wuTaPrebOqheE0Easily download results of a completed job:
$ dadadascribe --download a7wuTaPrebOqheE0The wrapper offers a Python API.
from dadascribe import ScribeAPIWrapper
api_key = ... # e.g. from an environment variable, as str
w = ScribeAPIWrapper(api_key)
# Example transcription:
trsc_result = w.transcribe(
source="youtube/link/or/path/to/file",
source_language="en",
destination_language="es,it",
)pip3 install -e .Make sure to run the tests as well via the run_tests.sh script:
chmod +x run_tests.sh
./run_tests.sh