how do i get a youtube video thumbnail from the youtube api 3f

Solutions on MaxInterview for how do i get a youtube video thumbnail from the youtube api 3f by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how do i get a youtube video thumbnail from the youtube api 3f"
Paul
30 Sep 2019
1$data = file_get_contents("https://www.googleapis.com/youtube/v3/videos?key=YOUR_API_KEY&part=snippet&id=T0Jqdjbed40");
2$json = json_decode($data);
3var_dump($json->items[0]->snippet->thumbnails);
similar questions