Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📘 docs: Add YouTube API integration details to tools documentation #198

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions pages/docs/configuration/tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,32 @@ description: Tools and Plugins setup instructions
- You can get an API key here: **[https://serpapi.com/dashboard](https://serpapi.com/dashboard)**
- For free tier, you are limited to 100 queries/month
- With google, you are limited to 100/day for free, which is a better deal, and any after may cost you a few pennies

### YouTube
- Requires a YouTube API key from the [Google Cloud Console](https://console.cloud.google.com/)
- Create a new project or select an existing one
- Enable the YouTube Data API v3
- Create credentials (API key)
- Set the API key in your environment variables as `YOUTUBE_API_KEY`

The YouTube tool provides four main operations:

1. **Search Videos**
- Search for YouTube videos with customizable results
- Example: Search for "cooking pasta" videos, limit to 5 results

2. **Get Video Info**
- Retrieve detailed information about a specific video
- Includes title, description, views, likes, and comment count

3. **Get Comments**
- Fetch comments from a specific video
- Customizable number of comments (1-50, default: 10)
- Returns author, text, and like count

4. **Get Transcript**
- Retrieve video transcripts
- Attempts to fetch English transcript first
- Finally tries any available language if neither is found


Loading