qipt8 / gdrive

17 stars 15 forks source link

gdrive

Installation

To install, simply:

$ composer require marxvn/gdrive

Quick Start and Examples

More examples are available under /examples.

require __DIR__ . '/vendor/autoload.php';
use \Marxvn\gdrive;
$gdrive = new gdrive;
$gdrive->getLink('LINK_GOOGLE_DRIVE');
$json_videojs_source = $gdrive->getSources();
$json_jwplayer_souce = $gdrive->getSources('jwplayer');

Available Methods

gdrive::sources
gdrive::setItag(array $itag)
gdrive::setVidcode(array $vidcode)
gdrive::setTitle($title)
gdrive::getLink($gurl)
gdrive::getSources($type = 'videojs')