title: Retrieving details from a YouTube video given the URL
body: <p>For example, given the link <a href="https://www.youtube.com/watch?v=Hl-zzrqQoSE" rel="nofollow">https://www.youtube.com/watch?v=Hl-zzrqQoSE</a> which is a video about installing the Java JDK.</p>
  
  <p>Using Java and the YouTube-API, how can I get information such as length, title, and views?</p>
  
  <p>I looked and I found <a href="https://developers.google.com/youtube/2.0/developers_guide_protocol_video_entries" rel="nofollow">https://developers.google.com/youtube/2.0/developers_guide_protocol_video_entries</a> but it's outdated and I'm not sure exactly how to use it.</p>
  
  <p>Forgive my ignorance as I'm new to Java. Thanks.</p>