I have made a request to this url: https://www.googleapis.com/youtube/analytics/v1/reports
with the metrics: likes and dislikes
.
The echoed response:
{
"kind": "youtubeAnalytics#resultTable",
"columnHeaders": [
{
"name": "likes",
"columnType": "METRIC",
"dataType": "INTEGER"
},
{
"name": "dislikes",
"columnType": "METRIC",
"dataType": "INTEGER"
}
]
}
Where are the rows and the actual data that i requested? In the documentation this is what is supposed to return when i request data from youtube:
{
"kind": "youtubeAnalytics#resultTable",
"columnHeaders": [
{
"name": string,
"dataType": string,
"columnType": string
},
... more headers ...
],
"rows": [
[
{value}, {value}, ...
]
]
}
But i get no "rows": [] data. Does my account just not have any analytics or did i do something wrong?
If i cange the alt=json
to alt=csv
i get null
returned.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…