问题
Recently, I work with youtube API v3
for Android
. I use Search.List when I want to retrieve list of videos from a keyword. I can find a lot of information from result (items/snippet), however I can't find viewCount
of each video. Looking detail at this API, I see a field named: order
and I can order by rating
, viewCount
, etc. IMO there should has a way to retrieve viewCount
when searching. Does anyone know it? Is it possible to give an example? Thank you very much.
回答1:
See my explanation here
viewCount can be retrieved from the Videos-->list and not from Search-->list.
来源:https://stackoverflow.com/questions/22240475/get-viewcount-in-search-list-youtube-data-api-v3