Youtube API (SDK PHP) get list video user - youtube-data-api

It is possible to obtain the list of channels of a user that logs into my system (PHP SDK) with the total number of followers.
I also need the list of videos of the channel, with all the engagement.
Thank you very much,

Related

Determine if a video is restricted to Premium Music members via the api

I host a wiki with many YouTube links and have a script that checks them all regularly to make sure they still exist and are not blocked (by region). I'd like to also check for videos that are inaccessible due to requiring Premium Music membership, but I cannot find that data point in the API documentation.
Example of a restricted Premium Video: https://www.youtube.com/watch?v=NCRnj62bFOY
Thanks for any guidance.
As said #stvar it doesn't seem that any YouTube Data API v3 endpoint meets your needs. However you can bypass the need of the YouTube Data API by downloading the webpage https://www.youtube.com/watch?v=NCRnj62bFOY and checking whether or not this one contains "Music Premium". If so it is a Music Premium limited video.

Is there a charging quota for youtube crawler?

I want to get the subscriber list of some YouTube accounts, about 100k accounts.
tokens are enough now, and I tried get method like this:
https://www.googleapis.com/youtube/v3/subscriptions?key=xxx&channelId=xxx&maxResults=50&part=snippet
but the quota limits my crawling speed, how can i get rid of this limitation?
The YouTube api has a very limited quota to begin with. You will need to aplly for a quota extension from the Google developer console under the library tab and search for the YouTube Data api.
You will need to be pasent. It takes time to get a quota extension.

YouTube API already watched time of video

I would like to get already watched time of YouTube video.
Example:
It is visible in UI, so it must be possible to get somehow. I checked https://developers.google.com/youtube/v3/docs/videos and https://developers.google.com/youtube/v3/docs/search, but this info doesn't seems to be at any of those two.
There is no API endpoint which returns how far along a user is in watching a video. The YouTube api is mostly a file store for videos it doesn't expose information about user progress in a video.

Extending YouTube API Quota with limited funds

With a simple java program, I send GET requests using YouTube Data API specifically videos.list, in order to get the public metadata of a video and store it as .json files.
For my universities research, we have to do this with all available YouTube video IDs provided in the Youtube-8M Database.
Therefore, I would like to know if there is a way to extend the available quota for requests (I already know about the billing option, but I am a student and my university is small).
I have read the YouTube API terms, which states that only one project per client may be used to send such requests with the necessary API Key.
If I understand it correctly, even my simple java code is such a client.
In some other Stack Overflow questions about extending ones daily quota with API Keys, some suggested creating multiple accounts or projects.
Is this a legal option or not? Or is there another possibility to get a higher quota for simple requests used in research like I do right now?
If you go to the Google Developer console where you enabled the YouTube API. the second tab is called quota
Click the pencil next to which ever quota it is that you are blowing out. A new window will pop up with a link called apply for higher quota.
Fill out the form to apply. To my knowledge you do not have to pay for additional YouTube quota but it can take time to get approved. Make sure you comply with everything on the form.
I have never heard of the one project per client term. Technically you can run your application using different API Keys it should work fine. Technically there is nothing wrong with creating additional projects on Google Developer console. You don't need to go as far as creating another Google account.

List users that have posted to a Yammer group

Is it possible (via the Yammer REST API or otherwise) to programmatically retrieve a list of all unique users who have posted to a specific Yammer group?
The network in question is a free Yammer network, therefore the data export approach is not available.
There's currently no way to directly get a list of contributors to a group. What you could do is use the messages api to crawl through all of the messages in a group and get the users who sent them. If it's a group with a reasonable number of messages, this shouldn't be that big of a problem. Just don't forget about the rate limits on making api calls.
The message endpoint for a group looks like this.
https://api.yammer.com/api/v1/messages/in_group/{{group_id}}.json?threaded=extended

Resources