YouTube API v2 已被弃用。YouTube API v3 提供了这个接口:https ://www.googleapis.com/youtube/v3/channels?part=status,snippet&mine=true
结果看起来像
{
"kind": "youtube#channelListResponse",
"etag": "\"DsOZ7qVJA4mxdTxZeNzis6uE6ck/ZcfqyiqeHVjpZe2OzRYKDx0FikI\"",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#channel",
"etag": "\"DsOZ7qVJA4mxdTxZeNzis6uE6ck/XMRC3bd-8_FpW1Mxf8T-cDbmbns\"",
"id": "UCsscztqpacVMxemmxNkwVQg",
"snippet": {
"title": "",
"description": "",
"publishedAt": "2012-07-17T03:19:15.000Z",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/i/sscztqpacVMxemmxNkwVQg/1.jpg"
},
"medium": {
"url": "https://i.ytimg.com/i/sscztqpacVMxemmxNkwVQg/mq1.jpg"
},
"high": {
"url": "https://i.ytimg.com/i/sscztqpacVMxemmxNkwVQg/hq1.jpg"
}
}
},
"status": {
"privacyStatus": "private",
"isLinked": false,
"longUploadsStatus": "eligible"
}
}
]
}
注意状态中的“isLinked”值。