title: php - How to generate a list of YouTube videos from a list of random YouTube video IDs?
body: <p>I am looking to create a small PHP website of a collection of random YouTube videos.</p>
  
  <p>I know I will be utilizing the YouTube API.  I've found tutorials on how to use the YouTube API to make search queries, and grab a particular playlist from YouTube, but not necessarily any way to generate a list on my website of video titles, thumbnails and short descriptions from a simple PHP array of random YouTube video IDs.</p>
  
  <p>ie:</p>
  
  <pre><code>  $video_ids = [XXXXXXXXX,XXXXXXXXX,XXXXXXXXX,XXXXXXXXX];
  </code></pre>
  
  <p>Is there a special YouTube API function or method I can call in the API that does exactly this?  Basically I just want to throw a list of random video IDs at the YouTube API and have the API return information for each of those video IDs in the list.</p>
  
  <p>Thanks for any insight!</p>