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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file askvideos-0.2.2.tar.gz.
File metadata
- Download URL: askvideos-0.2.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df71233a7a107bb5712a67222e898401d5ca37a115163bf6191502154b97676b
|
|
| MD5 |
01c907ab8ff2f884e7c52b5083138d98
|
|
| BLAKE2b-256 |
db2054b7d60a728d5227d5243890b27ab2b43fa551481bd8755774d698d84536
|
File details
Details for the file askvideos-0.2.2-py3-none-any.whl.
File metadata
- Download URL: askvideos-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f467d2a00695f53e4736aa9575f33f0f2f2c043b807823298bc256f1634f3432
|
|
| MD5 |
188bb2daa36b66a09e7ccf3b96e8ce02
|
|
| BLAKE2b-256 |
adfd3408f9eafc8a2eebadbc05013f767992f5a5acb46d8c4ad5976614ac772e
|