Wonder if there is an option to get statistics for channels in youtube that i dont own.
Example is i want to know number of view for a spesific channel during last month vs the month before.
I am using v3 youtybe api.
Thanks.
Wonder if there is an option to get statistics for channels in youtube that i dont own.
Example is i want to know number of view for a spesific channel during last month vs the month before.
I am using v3 youtybe api.
Thanks.
Unfortunately, you cannot do this because there is an Oauth authentication which validates your account. Even if you know someone's channel id, still there is a verification that will happen to your request.
To retrieve a channel report, you must set the ids parameter value in your API request to one of the following values:
channel==MINE – The API returns data for the authenticated user's YouTube channel.
channel==CHANNEL_ID – Set CHANNEL_ID to the unique channel ID of the channel for which you are retrieving data. The user authorizing the request must be the owner of the channel.
The channel ID is currently a string that begins with the letters UC, though its format is subject to change. (You can find your channel's ID on the advanced account settings page for your YouTube channel, or you can retrieve your channel's ID programmatically using the YouTube Data API's channels.list method.)
Please see this link for more information.
You can also try a sample request using the [Try it] section in this link.
Hope this one will help.