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

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