video_details
Retrieve specific details from a YouTube video using its ID, such as snippets, statistics, and content details. Specify which parts to fetch for targeted information.
Instructions
Retrieves specified information parts (e.g., snippet, contentDetails, statistics) for a YouTube video, identified by its id.
Args: id: The YouTube video ID (typically 11 characters) for which to retrieve details. part: Comma-separated list of video resource parts to include. Valid parts: 'snippet', 'contentDetails', 'statistics', 'status', 'player', etc. Default: 'snippet,contentDetails,statistics'.
Returns: Object with 'data' (video resource), 'error' (if any), and 'successful' boolean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| part | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||