Skip to content
Zoom Media Python SDK
Python
Branch: master
Clone or download
blokje Multiple changes:
  * Make SSL verification optional
  * Switch to API v2
  * Start deprecating SessionID
  * Make it possible to reinitialize a Zoom Session by providing the ID
  * Make it possible to get subtitles
Latest commit 0468982 Jul 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pyzoomapi Multiple changes: Jul 30, 2019
.gitignore Initial commit Jul 30, 2019
LICENSE Initial commit Jul 30, 2019
README.md Fix typo in README Jul 30, 2019
setup.py Initial commit Jul 30, 2019

README.md

pyzoomapi

Zoom Media Speech to Text API python implementation

Installation

git clone https://github.com/zoom-media/pyzoomapi.git
cd pyzoomapi
./setup.py install

# or
pip install git+https://github.com/zoom-media/pyzoomapi

Usage

import pyzoomapi
from time import sleep

# Initialize Zoom Media PI
zoomapi = pyzoomapi.ZoomAPI('zoom-batch-token')

# Start new dutch transcript session
session = zoomapi.new_session(language='nl-nl')

# Upload file
session.upload('/tmp/news_broadcast.mp3')

# Poll for result
while True:
  if session.is_done():
    break
  sleep(1)

# Retrieve transcript
transcript = session.get_transcript()

# Print transcript to console
transcript.pprint()

Examples

For examples see examples directory.

You can’t perform that action at this time.