AskVideos python library
Project description
AskVideosClient
AskVideosClient
is a Python client for interacting with the AskVideos API. This client allows you to create indices, search for videos, synthesize answers from multiple videos, index videos from various sources (YouTube search, URL, playlist, channel), and more.
Installation
To install the python client.
pip install askvideos
Usage
###Set-up client
from ask_videos_client import AskVideosClient
api_url = os.environ.get("ASKVIDEOS_SERVER_URL")
api_key = os.environ.get("ASKVIDEOS_API_KEY")
client = AskVideosClient(api_url, api_key)
###Create an index
index_name = "coffee"
client.create_index(index_name)
###Text search
query = "coldbrew"
results = client.search_videos(index_name, query)
print(results)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
askvideos-0.1.4.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for askvideos-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a4fd7fab087724512d1dcc9cb7fcf9a32a5018630859a64eff670f1f09349a9 |
|
MD5 | 33b0e86f8600b1bb02c6e276f17e6447 |
|
BLAKE2b-256 | cf2d5d1f4e139b40488d7c51c415ee999f28015f46ebf01259fd84687a57e15d |