Skip to content

Instantly share code, notes, and snippets.

@Sealjay
Last active February 18, 2021 23:28
Show Gist options
  • Save Sealjay/0e1273cc038646a81c0aac482b9ca170 to your computer and use it in GitHub Desktop.
Save Sealjay/0e1273cc038646a81c0aac482b9ca170 to your computer and use it in GitHub Desktop.
aio-videoindexer - get started
from asyncvideoindexer import AsyncVideoIndexer
VIDEO_INDEXER_ACCOUNT_ID = "your-account-id"
VIDEO_INDEXER_KEY = "your-account-key"
VIDEO_INDEXER_ACCOUNT_LOCATION = "your-account-location"
async def get_video_indexer():
video_indexer = await AsyncVideoIndexer.AsyncVideoIndexer.create(
VIDEO_INDEXER_ACCOUNT_ID,
VIDEO_INDEXER_KEY,
VIDEO_INDEXER_ACCOUNT_LOCATION,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment