admin管理员组文章数量:1387341
When I tried to get the file name, he didn't return, but the documentation says so, and you can check out the code I attached, these are the results of my tests using Google API Explorer, and I'm hoping to get an answer
curl \
';id=vNC1WNSL9XE&key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed
Response:
{
"kind": "youtube#videoListResponse",
"etag": "aaxbFKP1TCIDrlDKNFJ7luuqtT8",
"items": [
{
"kind": "youtube#video",
"etag": "v9FbMSHbI0Pdom1glHT8dTyaA2k",
"id": "vNC1WNSL9XE",
"fileDetails": {
"fileType": "video",
"container": "mov",
"videoStreams": [
{
"widthPixels": 1280,
"heightPixels": 720,
"frameRateFps": 30,
"aspectRatio": 1.7777777777777777,
"codec": "h264",
"bitrateBps": "5729890"
}
],
"audioStreams": [
{
"channelCount": 2,
"codec": "aac",
"bitrateBps": "240051"
}
],
"durationMs": "40200",
"bitrateBps": "5969941"
}
}
],
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
}
}
本文标签: When I use youtubev3videos to get fileDetailsit doesn39t return fileNameStack Overflow
版权声明:本文标题:When I use youtubev3videos to get fileDetails, it doesn't return fileName - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744523241a2610584.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论