Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

jimdoescode/CodeIgniter-YouTube-API-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

NOTE: THIS LIBRARY IS DEPRECATED

It is recommended that you use the official PHP API provided by YouTube at https://github.com/google/google-api-php-client

CodeIgniter Youtube API Library

This library will let a user authenticate with youtube and perform actions such as uploading a video, commenting and rating videos, and getting video feeds.

Some basic documentation can be found at http://code.google.com/apis/youtube/articles/codeigniter_library.html For the most up to date documentation checkout my blog at http://jimdoescode.blogspot.com

Usage

Copy the files under your application directory. Then load the library like this:

$params['apikey'] = 'YOUTUBE API KEY';

$this->load->library('youtube', $params);

$this->youtube->getMostViewedVideoFeed(array('max-results'=>30));

License

This library is licensed under the MIT license.

Sparks

You can also use this library with Sparks. Simply install using sparks then call.

$this->load->spark('youtube/1.0.0');

Then load the library as specified in the usage.

About

A basic implementation for the youtube api as a CodeIgniter library. Removes dependencies on Zend for retrieval and manipulation of YouTube video data.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages

AltStyle によって変換されたページ (->オリジナル) /