\YoutubeFactory
Synopsis
class YoutubeFactory
{
- // members
- protected $prepared;
- // methods
- public void __construct()
- public array getVideosByUser()
- public array getVideosByChannelId()
- public array getVideos()
- public array: getPlaylistsByChannelId()
- public array: getPlaylistsByUser()
- public array: getPlaylists()
- public array: getPlaylistItems()
- protected void updateVideoEntries()
Members
protected
- $prepared
Methods
protected
- updateVideoEntries() — Update or create the database entries for each element of the given videos array
public
- __construct()
- getPlaylistItems() — Get all items of the given playlist
- getPlaylists() — Call the API to get all playlists of a given user or channel id.
- getPlaylistsByChannelId() — Call the API to get all playlists of a given channel
- getPlaylistsByUser() — Call the API to get all playlists of a given user
- getVideos() — Get all videos of a given channel or user.
- getVideosByChannelId() — Get all videos of a given channel.
- getVideosByUser() — Get all videos of a given user.