-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube Badge #5101
Comments
Hello @MohamedAliRashad , thanks for the suggestion! I've done a bit of digging, and I believe the relevant API to get statistics about a video (viewers, likes, etc.) is the following: https://developers.google.com/youtube/v3/docs/videos#resource Keeping in mind the problems that we've had with other services, for example #2120, I looked into the API quota documentation. If my understanding is correct, we would need to perform a video list call with a statistics part. This would consume approximately 3 API units, amounting to 3333 API calls per day. If the badge becomes popular, this may not be sufficient, but it seems easy enough to request a free quota increase by filling in a form. Given the above and given that YouTube is used by quite a few developers, I think adding this badge would be a good idea! Would you be interested in helping us out? We've got a great little tutorial to get you started! |
Thanks @PyvesB for the research, i would very much like to help but my knowledge in JavaScript is basically zero so i don't think i will be of much help. |
Okay fair. Will probably pick this up myself at some point, however, if someone wants to pick it up in the meantime, feel free to ping me here! |
I've created a simple api so you can use a custom /endpoint badge for youtube. You need to deploy it yourself but with vercel it's free and simple: https://github.com/ntec-io/youtube-channel-badge |
📋 Description
🔗 Data
YouTube API has a live streaming option now, Tom Scott has proven this idea.
🎤 Motivation
The text was updated successfully, but these errors were encountered: