Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmitrymomot/youtube-video

Youtube video search API for kohana framework
https://github.com/dmitrymomot/youtube-video

Last synced: 3 days ago
JSON representation

Youtube video search API for kohana framework

Awesome Lists containing this project

README

        

youtube-video
=============

Youtube video search API for kohana framework.

Getting started
===============

First off, download and enable the module on your application/bootstrap.php

Then register your API key on google code:
https://code.google.com/apis/youtube/dashboard/

And write your API key on config/youtube.php

Search video on Youtube
=======================
$videos = Youtube::factory('videos')
->where('q', 'Search query')
->limit(10)->offset(1)
->find_all();

Find video by id
================
$video = Youtube::factory('videos/place_video_id_from_youtube')
->execute();