Youtube API v3(PHP) - 获得YouTube视频内容评级的任何方式?

时间:2017-03-15 02:15:42

标签: php youtube-api

有没有办法获得YouTube视频内容评分?

例如,此处显示的评分为:

https://support.google.com/youtube/answer/146399?hl=en-GB

1 个答案:

答案 0 :(得分:1)

看看API似乎如此https://developers.google.com/youtube/v3/docs/videos

评分:

"statistics": {
    "viewCount": unsigned long,
    "likeCount": unsigned long,
    "dislikeCount": unsigned long,
    "favoriteCount": unsigned long,
    "commentCount": unsigned long
  },

还有内容评级:

contentRating": {
      "mpaaRating": string,
      "tvpgRating": string,
      "bbfcRating": string,
      "chvrsRating": string,
      "eirinRating": string,
      "cbfcRating": string,
      "fmocRating": string,
      "icaaRating": string,
      "acbRating": string,
      "oflcRating": string,
      "fskRating": string,
      "kmrbRating": string,
      "djctqRating": string,
      "russiaRating": string,
      "rtcRating": string,
      "ytRating": string
    }