コード例 #1
0
ファイル: YoutubeTest.php プロジェクト: kotmonstr/kotmonstr
 public function testGetChannelFromURL()
 {
     $channel = $this->youtube->getChannelFromURL('http://www.youtube.com/user/Google');
     $this->assertEquals('UCK8sQmJBp8GCxrOtXWBpyEA', $channel->id);
     $this->assertEquals('Google', $channel->snippet->title);
 }