Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dmitrymomot/youtube-video
- Owner: dmitrymomot
- Created: 2013-11-21T06:27:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-30T11:26:28.000Z (over 11 years ago)
- Last Synced: 2023-03-27T13:27:12.363Z (over 1 year ago)
- Language: PHP
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();