getVideoInfo() 공개 메소드

public getVideoInfo ( $vId, $part = ['id', 'snippet', 'contentDetails', 'player', 'statistics', 'status'] ) : StdClass
리턴 StdClass
예제 #1
0
 /**
  * Test skipped for now, since the API returns Error 500
  */
 public function testNotFoundAPICall()
 {
     $vID = 'Utn7NBtbHL4';
     //an deleted video
     $response = $this->youtube->getVideoInfo($vID);
     $this->assertFalse($response);
 }