Google Youtube Data Catalogue — Snapshot Change
ChangedPrevious snapshot
10 Apr 2026, 06:55 (Berlin)
9316f0da65e47bb43734ef04aa119e4d…
This snapshot
10 Apr 2026, 13:28 (Berlin)
27fb227c339443d57c52b74b193d8804…
Run Assessment
insignificant claude / claude-haiku-4-5 auto: significantThe page content has reverted to a previously seen state as part of an established alternation pattern (3 prior reversions in last 10 changes). The added links are URL-parameter variants (?target=_blank fragments and #anchor links) of existing documentation endpoints, and the text diff shows duplicate 'On this page' navigation sections typical of render-state fluctuations rather than substantive catalogue changes.
+ 194 lines added
− 133 lines removed
2 links added
https://developers.google.com/youtube/v3/getting-started/?target=_blank
Links Changed
Line-by-line changes
400 lines
| Skip to main content | |
| + | developers.google.com uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more |
| + | Hide |
| + | |
| YouTube | |
| Data API | |
| ⋯ 56 unchanged lines ⋯ | |
| Support | |
| + | More |
| + | |
| YouTube | |
| Data API | |
| ⋯ 98 unchanged lines ⋯ | |
| APIs Explorer | |
| + | On this page |
| + | |
| + | Introduction |
| + | |
| + | Before you start |
| + | |
| + | Resources and resource types |
| + | |
| + | Supported operations |
| + | |
| + | Quota usage |
| + | |
| + | Calculating quota usage |
| + | |
| + | Partial resources |
| + | |
| + | How to use the part parameter |
| + | |
| + | How to use the fields parameter |
| + | |
| + | Sample partial requests |
| + | |
| + | Optimizing performance |
| + | |
| + | Using ETags |
| + | |
| + | Using gzip |
| + | |
| Home | |
| Products | |
| ⋯ 9 unchanged lines ⋯ | |
| Stay organized with collections | |
| Save and categorize content based on your preferences. | |
| + | |
| + | On this page |
| + | |
| + | Introduction |
| + | |
| + | Before you start |
| + | |
| + | Resources and resource types |
| + | |
| + | Supported operations |
| + | |
| + | Quota usage |
| + | |
| + | Calculating quota usage |
| + | |
| + | Partial resources |
| + | |
| + | How to use the part parameter |
| + | |
| + | How to use the fields parameter |
| + | |
| + | Sample partial requests |
| + | |
| + | Optimizing performance |
| + | |
| + | Using ETags |
| + | |
| + | Using gzip |
| Page Summary | |
| ⋯ 280 unchanged lines ⋯ | |
| Example 4 returns a video resource that includes two parts but excludes kind and etag as well as some nested properties in the resource's snippet object. | |
| − | Example 1 |
| − | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,contentDetails,statistics,status |
| − | |
| − | Description: This example retrieves a video resource and identifies several |
| + | Example 1 Example 2 Example 3 Example 4 More |
| + | |
| + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,contentDetails,statistics,status |
| + | |
| + | Description : This example retrieves a video resource and identifies several |
| resource parts that should be included in the API response. | |
| − | API response: |
| + | API response : |
| { | |
| − | "kind": "youtube#videoListResponse", |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"", |
| − | "videos": [ |
| + | "kind" : "youtube#videoListResponse" , |
| + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / sDAlsG9NGKfr6v5AlPZKSEZdtqA \ "" , |
| + | "videos" : [ |
| { | |
| − | "id": "7lCDEYXw3mM", |
| − | "kind": "youtube#video", |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"", |
| − | "snippet": { |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", |
| − | "thumbnails": { |
| − | "default": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| − | }, |
| − | "medium": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| − | }, |
| − | "high": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| − | } |
| − | }, |
| − | "categoryId": "28" |
| − | }, |
| − | "contentDetails": { |
| − | "duration": "PT15M51S", |
| − | "aspectRatio": "RATIO_16_9" |
| − | }, |
| − | "statistics": { |
| − | "viewCount": "3057", |
| − | "likeCount": "25", |
| − | "dislikeCount": "0", |
| − | "favoriteCount": "17", |
| − | "commentCount": "12" |
| − | }, |
| − | "status": { |
| − | "uploadStatus": "STATUS_PROCESSED", |
| − | "privacyStatus": "PRIVACY_PUBLIC" |
| + | "id" : "7lCDEYXw3mM" , |
| + | "kind" : "youtube#video" , |
| + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / iYynQR8AtacsFUwWmrVaw4Smb_Q \ "" , |
| + | "snippet" : { |
| + | "publishedAt" : "2012-06-20T22:45:24.000Z" , |
| + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , |
| + | "title" : "Google I/O 101: Q&A On Using Google APIs" , |
| + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , |
| + | "thumbnails" : { |
| + | "default" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| + | }, |
| + | "medium" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| + | }, |
| + | "high" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| + | } |
| + | }, |
| + | "categoryId" : "28" |
| + | }, |
| + | "contentDetails" : { |
| + | "duration" : "PT15M51S" , |
| + | "aspectRatio" : "RATIO_16_9" |
| + | }, |
| + | "statistics" : { |
| + | "viewCount" : "3057" , |
| + | "likeCount" : "25" , |
| + | "dislikeCount" : "0" , |
| + | "favoriteCount" : "17" , |
| + | "commentCount" : "12" |
| + | }, |
| + | "status" : { |
| + | "uploadStatus" : "STATUS_PROCESSED" , |
| + | "privacyStatus" : "PRIVACY_PUBLIC" |
| } | |
| } | |
| ] | |
| } | |
| − | Example 2 |
| − | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics |
| − | |
| − | Description: This example modifies the part parameter value so that the |
| + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics |
| + | |
| + | Description : This example modifies the part parameter value so that the |
| contentDetails and status properties are not included | |
| in the response. | |
| − | API response: |
| + | API response : |
| { | |
| − | "kind": "youtube#videoListResponse", |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"", |
| − | "videos": [ |
| + | "kind" : "youtube#videoListResponse" , |
| + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / sDAlsG9NGKfr6v5AlPZKSEZdtqA \ "" , |
| + | "videos" : [ |
| { | |
| − | "id": "7lCDEYXw3mM", |
| − | "kind": "youtube#video", |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"", |
| − | "snippet": { |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", |
| − | "thumbnails": { |
| − | "default": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| − | }, |
| − | "medium": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| − | }, |
| − | "high": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| − | } |
| − | }, |
| − | "categoryId": "28" |
| − | }, |
| − | "statistics": { |
| − | "viewCount": "3057", |
| − | "likeCount": "25", |
| − | "dislikeCount": "0", |
| − | "favoriteCount": "17", |
| − | "commentCount": "12" |
| + | "id" : "7lCDEYXw3mM" , |
| + | "kind" : "youtube#video" , |
| + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / iYynQR8AtacsFUwWmrVaw4Smb_Q \ "" , |
| + | "snippet" : { |
| + | "publishedAt" : "2012-06-20T22:45:24.000Z" , |
| + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , |
| + | "title" : "Google I/O 101: Q&A On Using Google APIs" , |
| + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , |
| + | "thumbnails" : { |
| + | "default" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| + | }, |
| + | "medium" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| + | }, |
| + | "high" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| + | } |
| + | }, |
| + | "categoryId" : "28" |
| + | }, |
| + | "statistics" : { |
| + | "viewCount" : "3057" , |
| + | "likeCount" : "25" , |
| + | "dislikeCount" : "0" , |
| + | "favoriteCount" : "17" , |
| + | "commentCount" : "12" |
| } | |
| } | |
| ] | |
| } | |
| − | Example 3 |
| − | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics&fields=items(id,snippet,statistics) |
| − | |
| − | Description: This example adds the fields parameter to remove all |
| + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics&fields=items(id,snippet,statistics) |
| + | |
| + | Description : This example adds the fields parameter to remove all |
| kind and etag properties from the API response. | |
| − | API response: |
| + | API response : |
| { | |
| − | "videos": [ |
| + | "videos" : [ |
| { | |
| − | "id": "7lCDEYXw3mM", |
| − | "snippet": { |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", |
| − | "thumbnails": { |
| − | "default": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| − | }, |
| − | "medium": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| − | }, |
| − | "high": { |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| − | } |
| − | }, |
| − | "categoryId": "28" |
| − | }, |
| − | "statistics": { |
| − | "viewCount": "3057", |
| − | "likeCount": "25", |
| − | "dislikeCount": "0", |
| − | "favoriteCount": "17", |
| − | "commentCount": "12" |
| + | "id" : "7lCDEYXw3mM" , |
| + | "snippet" : { |
| + | "publishedAt" : "2012-06-20T22:45:24.000Z" , |
| + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , |
| + | "title" : "Google I/O 101: Q&A On Using Google APIs" , |
| + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , |
| + | "thumbnails" : { |
| + | "default" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" |
| + | }, |
| + | "medium" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" |
| + | }, |
| + | "high" : { |
| + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" |
| + | } |
| + | }, |
| + | "categoryId" : "28" |
| + | }, |
| + | "statistics" : { |
| + | "viewCount" : "3057" , |
| + | "likeCount" : "25" , |
| + | "dislikeCount" : "0" , |
| + | "favoriteCount" : "17" , |
| + | "commentCount" : "12" |
| } | |
| } | |
| ] | |
| } | |
| − | Example 4 |
| − | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &fields=items(id,snippet(channelId,title,categoryId),statistics)&part=snippet,statistics |
| − | |
| − | Description: This example modifies the fields parameter from example 3 |
| − | so that in the API response, each video resource's snippet |
| − | object only includes the channelId, title, |
| + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &fields=items(id,snippet(channelId,title,categoryId),statistics)&part=snippet,statistics |
| + | |
| + | Description : This example modifies the fields parameter from example 3 |
| + | so that in the API response , each video resource ' s snippet |
| + | object only includes the channelId , title , |
| and categoryId properties. | |
| − | API response: |
| + | API response : |
| { | |
| − | "videos": [ |
| + | "videos" : [ |
| { | |
| − | "id": "7lCDEYXw3mM", |
| − | "snippet": { |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", |
| − | "categoryId": "28" |
| − | }, |
| − | "statistics": { |
| − | "viewCount": "3057", |
| − | "likeCount": "25", |
| − | "dislikeCount": "0", |
| − | "favoriteCount": "17", |
| − | "commentCount": "12" |
| + | "id" : "7lCDEYXw3mM" , |
| + | "snippet" : { |
| + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , |
| + | "title" : "Google I/O 101: Q&A On Using Google APIs" , |
| + | "categoryId" : "28" |
| + | }, |
| + | "statistics" : { |
| + | "viewCount" : "3057" , |
| + | "likeCount" : "25" , |
| + | "dislikeCount" : "0" , |
| + | "favoriteCount" : "17" , |
| + | "commentCount" : "12" |
| } | |
| } | |
| ] | |
| ⋯ 147 unchanged lines ⋯ | |
| 日本語 | |
| 한국어 | |
| + | |
| + | Info |
| + | |
| + | Chat |
| + | |
| + | API |
| Previous · 10 Apr 2026, 06:55 (Berlin) | Current · 10 Apr 2026, 13:28 (Berlin) | |||
|---|---|---|---|---|
| Skip to main content | Skip to main content | |||
| + | ||||
| + | developers.google.com uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more | |||
| + | Hide | |||
| YouTube | YouTube | |||
| ⋯ 56 unchanged lines ⋯ | ||||
| Samples | Samples | |||
| Support | Support | |||
| + | ||||
| + | More | |||
| YouTube | YouTube | |||
| ⋯ 99 unchanged lines ⋯ | ||||
| APIs Explorer | APIs Explorer | |||
| + | On this page | |||
| + | ||||
| + | Introduction | |||
| + | ||||
| + | Before you start | |||
| + | ||||
| + | Resources and resource types | |||
| + | ||||
| + | Supported operations | |||
| + | ||||
| + | Quota usage | |||
| + | ||||
| + | Calculating quota usage | |||
| + | ||||
| + | Partial resources | |||
| + | ||||
| + | How to use the part parameter | |||
| + | ||||
| + | How to use the fields parameter | |||
| + | ||||
| + | Sample partial requests | |||
| + | ||||
| + | Optimizing performance | |||
| + | ||||
| + | Using ETags | |||
| + | ||||
| + | Using gzip | |||
| + | ||||
| Home | Home | |||
| Products | Products | |||
| ⋯ 9 unchanged lines ⋯ | ||||
| Stay organized with collections | Stay organized with collections | |||
| Save and categorize content based on your preferences. | Save and categorize content based on your preferences. | |||
| + | ||||
| + | On this page | |||
| + | ||||
| + | Introduction | |||
| + | ||||
| + | Before you start | |||
| + | ||||
| + | Resources and resource types | |||
| + | ||||
| + | Supported operations | |||
| + | ||||
| + | Quota usage | |||
| + | ||||
| + | Calculating quota usage | |||
| + | ||||
| + | Partial resources | |||
| + | ||||
| + | How to use the part parameter | |||
| + | ||||
| + | How to use the fields parameter | |||
| + | ||||
| + | Sample partial requests | |||
| + | ||||
| + | Optimizing performance | |||
| + | ||||
| + | Using ETags | |||
| + | ||||
| + | Using gzip | |||
| Page Summary | Page Summary | |||
| ⋯ 280 unchanged lines ⋯ | ||||
| Example 4 returns a video resource that includes two parts but excludes kind and etag as well as some nested properties in the resource's snippet object. | Example 4 returns a video resource that includes two parts but excludes kind and etag as well as some nested properties in the resource's snippet object. | |||
| − | Example 1 | + | Example 1 Example 2 Example 3 Example 4 More | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,contentDetails,statistics,status | + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,contentDetails,statistics,status | |
| − | Description: This example retrieves a video resource and identifies several | + | Description : This example retrieves a video resource and identifies several | |
| resource parts that should be included in the API response. | resource parts that should be included in the API response. | |||
| − | API response: | + | API response : | |
| { | { | |||
| − | "kind": "youtube#videoListResponse", | + | "kind" : "youtube#videoListResponse" , | |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"", | + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / sDAlsG9NGKfr6v5AlPZKSEZdtqA \ "" , | |
| − | "videos": [ | + | "videos" : [ | |
| { | { | |||
| − | "id": "7lCDEYXw3mM", | + | "id" : "7lCDEYXw3mM" , | |
| − | "kind": "youtube#video", | + | "kind" : "youtube#video" , | |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"", | + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / iYynQR8AtacsFUwWmrVaw4Smb_Q \ "" , | |
| − | "snippet": { | + | "snippet" : { | |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", | + | "publishedAt" : "2012-06-20T22:45:24.000Z" , | |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", | + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , | |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", | + | "title" : "Google I/O 101: Q&A On Using Google APIs" , | |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", | + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , | |
| − | "thumbnails": { | + | "thumbnails" : { | |
| − | "default": { | + | "default" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | |
| }, | }, | |||
| − | "medium": { | + | "medium" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | |
| }, | }, | |||
| − | "high": { | + | "high" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | |
| } | } | |||
| }, | }, | |||
| − | "categoryId": "28" | + | "categoryId" : "28" | |
| }, | }, | |||
| − | "contentDetails": { | + | "contentDetails" : { | |
| − | "duration": "PT15M51S", | + | "duration" : "PT15M51S" , | |
| − | "aspectRatio": "RATIO_16_9" | + | "aspectRatio" : "RATIO_16_9" | |
| }, | }, | |||
| − | "statistics": { | + | "statistics" : { | |
| − | "viewCount": "3057", | + | "viewCount" : "3057" , | |
| − | "likeCount": "25", | + | "likeCount" : "25" , | |
| − | "dislikeCount": "0", | + | "dislikeCount" : "0" , | |
| − | "favoriteCount": "17", | + | "favoriteCount" : "17" , | |
| − | "commentCount": "12" | + | "commentCount" : "12" | |
| }, | }, | |||
| − | "status": { | + | "status" : { | |
| − | "uploadStatus": "STATUS_PROCESSED", | + | "uploadStatus" : "STATUS_PROCESSED" , | |
| − | "privacyStatus": "PRIVACY_PUBLIC" | + | "privacyStatus" : "PRIVACY_PUBLIC" | |
| } | } | |||
| } | } | |||
| ] | ] | |||
| } | } | |||
| − | Example 2 | + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics | |||
| − | ||||
| − | Description: This example modifies the part parameter value so that the | + | Description : This example modifies the part parameter value so that the | |
| contentDetails and status properties are not included | contentDetails and status properties are not included | |||
| in the response. | in the response. | |||
| − | API response: | + | API response : | |
| { | { | |||
| − | "kind": "youtube#videoListResponse", | + | "kind" : "youtube#videoListResponse" , | |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"", | + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / sDAlsG9NGKfr6v5AlPZKSEZdtqA \ "" , | |
| − | "videos": [ | + | "videos" : [ | |
| { | { | |||
| − | "id": "7lCDEYXw3mM", | + | "id" : "7lCDEYXw3mM" , | |
| − | "kind": "youtube#video", | + | "kind" : "youtube#video" , | |
| − | "etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"", | + | "etag" : "\" UCBpFjp2h75_b92t44sqraUcyu0 / iYynQR8AtacsFUwWmrVaw4Smb_Q \ "" , | |
| − | "snippet": { | + | "snippet" : { | |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", | + | "publishedAt" : "2012-06-20T22:45:24.000Z" , | |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", | + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , | |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", | + | "title" : "Google I/O 101: Q&A On Using Google APIs" , | |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", | + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , | |
| − | "thumbnails": { | + | "thumbnails" : { | |
| − | "default": { | + | "default" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | |
| }, | }, | |||
| − | "medium": { | + | "medium" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | |
| }, | }, | |||
| − | "high": { | + | "high" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | |
| } | } | |||
| }, | }, | |||
| − | "categoryId": "28" | + | "categoryId" : "28" | |
| }, | }, | |||
| − | "statistics": { | + | "statistics" : { | |
| − | "viewCount": "3057", | + | "viewCount" : "3057" , | |
| − | "likeCount": "25", | + | "likeCount" : "25" , | |
| − | "dislikeCount": "0", | + | "dislikeCount" : "0" , | |
| − | "favoriteCount": "17", | + | "favoriteCount" : "17" , | |
| − | "commentCount": "12" | + | "commentCount" : "12" | |
| } | } | |||
| } | } | |||
| ] | ] | |||
| } | } | |||
| − | Example 3 | + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics&fields=items(id,snippet,statistics) | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &part=snippet,statistics&fields=items(id,snippet,statistics) | |||
| − | ||||
| − | Description: This example adds the fields parameter to remove all | + | Description : This example adds the fields parameter to remove all | |
| kind and etag properties from the API response. | kind and etag properties from the API response. | |||
| − | API response: | + | API response : | |
| { | { | |||
| − | "videos": [ | + | "videos" : [ | |
| { | { | |||
| − | "id": "7lCDEYXw3mM", | + | "id" : "7lCDEYXw3mM" , | |
| − | "snippet": { | + | "snippet" : { | |
| − | "publishedAt": "2012-06-20T22:45:24.000Z", | + | "publishedAt" : "2012-06-20T22:45:24.000Z" , | |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", | + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , | |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", | + | "title" : "Google I/O 101: Q&A On Using Google APIs" , | |
| − | "description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.", | + | "description" : "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0." , | |
| − | "thumbnails": { | + | "thumbnails" : { | |
| − | "default": { | + | "default" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg" | |
| }, | }, | |||
| − | "medium": { | + | "medium" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg" | |
| }, | }, | |||
| − | "high": { | + | "high" : { | |
| − | "url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | + | "url" : "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg" | |
| } | } | |||
| }, | }, | |||
| − | "categoryId": "28" | + | "categoryId" : "28" | |
| }, | }, | |||
| − | "statistics": { | + | "statistics" : { | |
| − | "viewCount": "3057", | + | "viewCount" : "3057" , | |
| − | "likeCount": "25", | + | "likeCount" : "25" , | |
| − | "dislikeCount": "0", | + | "dislikeCount" : "0" , | |
| − | "favoriteCount": "17", | + | "favoriteCount" : "17" , | |
| − | "commentCount": "12" | + | "commentCount" : "12" | |
| } | } | |||
| } | } | |||
| ] | ] | |||
| } | } | |||
| − | Example 4 | + | URL : https : //www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &fields=items(id,snippet(channelId,title,categoryId),statistics)&part=snippet,statistics | |
| − | URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY &fields=items(id,snippet(channelId,title,categoryId),statistics)&part=snippet,statistics | |||
| − | ||||
| − | Description: This example modifies the fields parameter from example 3 | + | Description : This example modifies the fields parameter from example 3 | |
| − | so that in the API response, each video resource's snippet | + | so that in the API response , each video resource ' s snippet | |
| − | object only includes the channelId, title, | + | object only includes the channelId , title , | |
| and categoryId properties. | and categoryId properties. | |||
| − | API response: | + | API response : | |
| { | { | |||
| − | "videos": [ | + | "videos" : [ | |
| { | { | |||
| − | "id": "7lCDEYXw3mM", | + | "id" : "7lCDEYXw3mM" , | |
| − | "snippet": { | + | "snippet" : { | |
| − | "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw", | + | "channelId" : "UC_x5XG1OV2P6uZZ5FSM9Ttw" , | |
| − | "title": "Google I/O 101: Q&A On Using Google APIs", | + | "title" : "Google I/O 101: Q&A On Using Google APIs" , | |
| − | "categoryId": "28" | + | "categoryId" : "28" | |
| }, | }, | |||
| − | "statistics": { | + | "statistics" : { | |
| − | "viewCount": "3057", | + | "viewCount" : "3057" , | |
| − | "likeCount": "25", | + | "likeCount" : "25" , | |
| − | "dislikeCount": "0", | + | "dislikeCount" : "0" , | |
| − | "favoriteCount": "17", | + | "favoriteCount" : "17" , | |
| − | "commentCount": "12" | + | "commentCount" : "12" | |
| } | } | |||
| } | } | |||
| ] | ] | |||
| ⋯ 147 unchanged lines ⋯ | ||||
| 日本語 | 日本語 | |||
| 한국어 | 한국어 | |||
| + | ||||
| + | Info | |||
| + | ||||
| + | Chat | |||
| + | ||||
| + | API | |||