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