Resolving a Video Resource given a YouTube URL
<p>SoundCloud's API has a <a href="https://developers.soundcloud.com/docs/api/guide#resolving" rel="nofollow">nice endpoint</a> for submitting a permalink and getting back information about the media there.</p>

<p>Given the many YouTube URL variants (i.e. <code>http://www.youtube.com/watch?v=-&lt;someID&gt;</code>, <code>http://youtu.be/-&lt;someID&gt;</code>, <code>http://www.youtube.com/v/-&lt;someID&gt;?version=3&amp;autohide=1</code>, etc...) is there a way to request a <a href="https://developers.google.com/youtube/v3/docs/videos#resource-representation" rel="nofollow">Video Resource</a> given a URL?</p>