marxvn/gdrive

GDrive library.

1.0 2016-10-29 03:14 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:47:49 UTC


README

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