메소드 | 설명 | |
---|---|---|
__construct ( string $key = null, |
Construct an instance of YouTube service. | |
enabled ( ) : boolean | Determine if our application is using YouTube. | |
search ( string $q, string $pageToken = '', integer $perPage = 10 ) : object | false | Search for YouTube videos by a query string. | |
searchVideosRelatedToSong ( |
Search for YouTube videos related to a song. |
public __construct ( string $key = null, |
||
$key | string | The YouTube API key |
$client | The Guzzle HTTP client |
public searchVideosRelatedToSong ( |
||
$song | ||
$pageToken | string | |
리턴 | object | false |