Skip to content

Spawnrad/YoutubeApi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nekland Youtube Api

Scrutinizer Code Quality Build Status

Let's make usage of youtube easy, cool, and maintainable !

Getting Started

Installation

You should use composer to install it, and it's sooooo easy to install:

composer require 'nekland/youtube-api'

Usage

<?php

$youtube = new Youtube();

// You have to authenticate to access the youtube api
$youtube->authenticate(
    'ServiceAuth',
    ['cert_file' => 'my_google_certificate', 'email' => 'myemail_for_google_service@googleapi_etc.com']
);

// The info variable will contains an array of data returned by google
$info = $youtube->api('video')->findVideoById('RnpyRe_7jZA');

More

We have a more complete documentation in the docs folder.

Thanks

This library is inspired by php-github-api from KnpLabs.

Any contribution is lovely accepted. And contributors, we love you.

About

A clean wrapper for YoutubeApi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%