feat(tools): add YouTube Data API integration#5673
Open
GokulAIx wants to merge 1 commit intoaden-hive:mainfrom
Open
feat(tools): add YouTube Data API integration#5673GokulAIx wants to merge 1 commit intoaden-hive:mainfrom
GokulAIx wants to merge 1 commit intoaden-hive:mainfrom
Conversation
- Implement 6 YouTube API tools (search videos, get video/channel details, list channel videos, get playlist items, search channels) - Add YOUTUBE_API_KEY credential spec with help_url and description - Register YouTube tool in tools/__init__.py - Add comprehensive test coverage (18 tests) with mocking - Add detailed README with setup instructions and examples - Use httpx for HTTP requests to YouTube Data API v3 - Verified with real API integration testing Implements aden-hive#5603
Author
|
Ready for review. I've implemented all 6 YouTube Data API tools with:
Thanks for assigning this issue to me! Let me know if any changes are needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5603
Implements YouTube Data API v3 integration with 6 tools for searching and retrieving video/channel information.
Changes
Configuration
Users need to provide a YouTube Data API v3 key. Set
YOUTUBE_API_KEYenvironment variable or use Hive's credential store. Get an API key at https://console.cloud.google.com/apis/credentialsTesting
cd tools
uv run pytest tests/tools/test_youtube_tool.py -v
All 18 tests pass ✅