majaja5125 / gdrive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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')

About


Languages

Language:PHP 100.0%