Skip to main content

crewai-huntapi

CrewAI tools for HuntAPI: read the metadata of public videos and download them as video or audio.

Installation

pip install crewai-huntapi
export HUNTAPI_API_KEY="your-api-key"

Get an API key at app.huntapi.com.

Tools

Tool What it does
HuntAPIMediaMetadataTool Read the metadata of a public video through HuntAPI.
HuntAPIVideoDownloadTool Download a public video through HuntAPI and return the download link.
HuntAPIAudioDownloadTool Extract the audio of a public video through HuntAPI and return the download link.

Each tool takes api_key (defaults to HUNTAPI_API_KEY), base_url and timeout, plus the settings shown in its docstring. Errors (invalid key, no credits, rate limit, timeout) come back to the agent as text, without the API key.

from crewai import Agent
from crewai_huntapi import HuntAPIMediaMetadataTool, HuntAPIVideoDownloadTool

agent = Agent(
    role="Analyst",
    goal="Answer with data from HuntAPI",
    backstory="You use HuntAPI to read the metadata of public videos and download them as video or audio.",
    tools=[HuntAPIMediaMetadataTool(), HuntAPIVideoDownloadTool()],
)

print(HuntAPIMediaMetadataTool().run(**{"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"}))

Development

pip install -e ".[test]"
pytest

License

MIT

Metadata

Release files for crewai-huntapi 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-huntapi 0.1.0
File Size Uploaded Provenance Actions
crewai_huntapi-0.1.0.tar.gz 7.6 kB Without provenance Details for crewai_huntapi-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crewai-huntapi 0.1.0
File Interpreter ABI Platform Actions
crewai_huntapi-0.1.0-py3-none-any.whl Python 3 none any Details for crewai_huntapi-0.1.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / crewai_huntapi-0.1.0.tar.gz

Download URL crewai_huntapi-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91cfce444472b01d3c78637f48649ebb9eb8e269e864279056edcb152488909d
BLAKE2b-256 checksum
How to use checksums
7abf54679a2f73e1d6a06bfb635a3a2bbda366e393afc831f105d56223fc6ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / crewai_huntapi-0.1.0-py3-none-any.whl

Download URL crewai_huntapi-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
908aa4873c1d8990ba69f2a3f84d2f2404d00edd50d0db7c0f9ab5276c06e9a2
BLAKE2b-256 checksum
How to use checksums
c5868a7f29eb88ddaa55935ae2038d6450a635210c2df7e5ed48d9acc0e97fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for crewai-huntapi 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page