Unofficial Python API for otter.ai
pip install .
or in a virtual environment
python3 -m venv env
source env/bin/activate
pip install .
from otterai import OtterAI
otter = OtterAI()
otter.login('USERNAME', 'PASSWORD')
Get user specific data
otter.get_user()
Get all speeches
optional parameters: folder, page_size, source
otter.get_speeches()
Get speech by id
otter.get_speech(SPEECH_ID)
Query a speech
otter.query_speech(QUERY, SPEECH_ID)
Upload a speech
optional parameters: content_type (default audio/mp4)
otter.upload_speech(FILE_NAME)
Download a speech
optional parameters: filename (defualt id), format (default: all available (txt,pdf,mp3,docx,srt) as zip file)
otter.download_speech(SPEECH_ID, FILE_NAME)
Move a speech to trash
otter.move_to_trash_bin(SPEECH_ID)
Start a live speech
Get all speakers
otter.get_speakers()
Create a speaker
otter.create_speaker(SPEAKER_NAME)
Assign a speaker to speech transcript
Get all folders
otter.get_folders()
Get all groups
otter.list_groups()
Get notification settings
otter.get_notification_settings()
from otterai import OtterAIException
try:
...
except OtterAIException as e:
...