How to retrieve information about a video from the YouTube Data API using google-api-php-client and the Videos List method.
YouTube Data API Docs:
https://developers.google.com/youtube...
=== YouTube API & PHP Series playlist ===
• YouTube API & PHP
=== NOTES ===
https://codewithsusan.com/notes/youtu...
=== PRODUCTS I USE ===
Microphone: https://amzn.to/3ZRPdvb
Microphone windscreen: https://amzn.to/3ZRPdvb
(I may receive a small commission from sales associated with the above links. Any income from these sales goes directly to supporting new videos for this channel)
=== CHAPTERS ===
00:00 Introduction and code review
01:00 Reading the API docs for videos.list
01:35 "part" - videos.list required parameter
02:51 "filter" - videos.list required parameter
03:40 Optional parameters; maxResults example
05:25 Reading the response - VideoListResponse
07:31 Outputting the response
09:40 Using the Try It widget in the API docs
10:36 Conclusion