Example #1
0
 public function testGetPlaylistById()
 {
     //get one of the playlist
     $GOOGLE_CHANNELID = 'UCK8sQmJBp8GCxrOtXWBpyEA';
     $response = $this->youtube->getPlaylistsByChannelId($GOOGLE_CHANNELID);
     $playlist = $response[0];
     $response = $this->youtube->getPlaylistById($playlist->id);
     $this->assertEquals('youtube#playlist', $response->kind);
 }