nekland / youtube-api
Simple library you can build you're api upon.
v0.2.1
2018-08-16 19:33 UTC
Requires
- php: >=5.6
- guzzle/guzzle: >=3.7
- namshi/jose: ~1.2
- nekland/base-api: ~0.0.1
Requires (Dev)
- phpunit/phpunit: >=3.7,<6
Suggests
- nekland/soundcloud-api: Soundcloud API made easy !
This package is auto-updated.
Last update: 2024-11-26 02:15:35 UTC
README
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( 'JsonFileServiceAuth', ['json_file' => 'my_google_certificate.json'] ); // The info variable will contains an array of data returned by google $info = $youtube->api('videos')->getById('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.