How do I get a YouTube video thumbnail from the YouTube API?

https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api

My use case

Example:

[![](https://img.youtube.com/vi/9KJ7B-mYKYA/hqdefault.jpg)](https://www.youtube.com/watch?v=9KJ7B-mYKYA)


[![](http://img.youtube.com/vi/GEWnXmDfVZg/0.jpg)](http://www.youtube.com/watch?v=GEWnXmDfVZg "Unsocial media")

Further reading

https://stackoverflow.com/questions/14192709/is-it-possible-to-embed-youtube-vimeo-videos-in-markdown-using-a-c-sharp-markdow

Or via this much easier

http://www.get-youtube-thumbnail.com/