R
R
rinaz222019-06-03 17:31:28
YouTube
rinaz22, 2019-06-03 17:31:28

How to get the number of views when requesting the youtube API?

Hello! How to get the number of views of all the videos I get with the youtube API?
What parameter to use for this?
At the moment, I have part=snippet, but only basic information (name, etc.) is transmitted this way. Tried to use statistics, but displays an error 400. The same trouble separated by a comma.
https://www.googleapis.com/youtube/v3/search?part=...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Noir, 2019-06-03
@PolarBearGG

statistics.viewCount

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question