YouTube Data API 每周数据的“喜欢"和“不喜欢"计数 [英] Likes and Dislike count for weekly data from YouTube Data API
问题描述
是否可以从 YouTube Data API 获取以下数据?
- 艺人频道订阅人数,按天计算
- 每天为 YouTube 视频或 ISRC 竖起大拇指、竖起大拇指
- YouTube 视频或 ISRC 的分享次数(按天)
很遗憾,您无法在 Youtube Data API 中过滤日期
在 Youtube 数据 API 中:频道
<块引用>channel
资源包含有关 YouTube 频道的信息.
要获取订阅者数量,请使用:
<块引用>statistics.subscriberCount
频道拥有的订阅者数量.
您可以使用 Youtube 分析和报告 API,创建关于订阅者数量、喜欢或不喜欢和分享的具体统计数据,请仔细阅读 维度 和 度量 用于良好的搜索查询参数.
指标
<块引用>本文档定义了您可以使用 YouTube 分析 API 检索的指标.此 API 支持实时查询以生成自定义 YouTube 分析报告.
指标是对用户活动、广告效果或收入的单独衡量.用户活动指标包括视频观看次数和评分(喜欢和不喜欢)等.
下表列出了 API 的一些核心指标.
- 不喜欢
- 喜欢
- 分享
- 获得订阅者
- 订阅者丢失
尺寸
<块引用>本文档定义了 YouTube 分析 API 支持的维度.此 API 支持实时、有针对性的查询,以生成自定义 YouTube 分析报告.
维度是用于汇总数据的常用标准,例如用户活动发生的日期或用户所在的国家/地区.
每个查询报告都标识了它支持的维度.例如,按时间检索用户活动时,您可以选择报告数据的时间段:day、7DayTotals、30DayTotals、月.在任何报告中,每一行数据都有唯一的维度值组合.
注意:
<块引用>核心维度和核心指标受弃用政策.
不幸的是,您必须使用 Youtube Data API 的静力学来获取订阅者计数、likesCount 和 dislikeCount.希望能帮到你!
Is it possible to get the below data from YouTube Data API?
- Artist Channel Subscriber counts, by day
- Thumbs Up, Thumbs Down for YouTube Videos or by ISRC, by day
- Shares for YouTube Videos or by ISRC, by day
Unfortunately, you can't filter dates in Youtube Data API
In Youtube Data API :Channels
A
channel
resource contains information about a YouTube channel.
To get Subscriber count, use:
statistics.subscriberCount
The number of subscribers that the channel has.
You can use Youtube Analytics and Reporting APIs, to create a concrete stats regarding subscriber count,likes or dislikes and shares read carefully the dimension and metrics for a good search query parameters.
Metrics
This document defines the metrics that you can retrieve using the YouTube Analytics API. This API supports real-time queries to generate custom YouTube Analytics reports.
Metrics are individual measurements of user activity, ad performance, or earnings. User activity metrics include things like video view counts and ratings (likes and dislikes).
The list below identifies some of the API's core metrics.
- dislikes
- likes
- shares
- subscribersGained
- subscribersLost
Dimensions
This document defines the dimensions that the YouTube Analytics API supports. This API supports real-time, targeted queries to generate custom YouTube Analytics reports.
Dimensions are common criteria that are used to aggregate data, such as the date on which user activity occurred or the country where users were located.
Each query report identifies the dimensions that it supports. For example, when retrieving user activity by time, you choose the time period for which data will be reported: day, 7DayTotals, 30DayTotals, month. In any report, each row of data has a unique combination of dimension values.
NOTE:
Core dimension and Core Metrics is subject to the Deprecation Policy.
Unfortunately you have to use staticstics of Youtube Data API to get Subscriber counts, likesCount and dislikeCount. Hope it helps!
这篇关于YouTube Data API 每周数据的“喜欢"和“不喜欢"计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!