PHP Classes

Php5tube: Get information about videos using YouTube API

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-10-09 (6 years ago) RSS 2.0 feedStarStarStarStar 75%Total: 2,084 This week: 1All time: 1,791 This week: 1,048Up
Version License PHP version Categories  
php5tube 0.0.3GNU Lesser Genera...5.0Web services, Video
Description Author  

This class can be used to get information about YouTube videos using their Web services API.

It accesses the YouTube Web services API server and sends several types of requests to retrieve information about the videos.

Currently it can get the videos of an user, get information about an user, get the most viewed videos, get the comments of a video, and get the information of a video.

Picture of Debugged Interactive Designs
Name: Debugged Interactive ... <contact>
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 1218162 in United States United States
Week rank: 572 Up64 in United States United States Up

Details provided by the author  

    Php5tube: a wrapper for the Youtube API

VERSION: 0.0.3


    Debugged Interactive Designs <>


    The latest version can always be
    found at


    Online documentation of the class, methods, and variables can
    be found at


    PHP 5.0.0


    include 'Php5tube.php';
    $phptube = new Php5tube('Video','User','Comment');
    $most_viewed = $php5tube->getMostViewed(1,10);
    $user_info = $php5tube->getUserInfo('rickrolled');
    $user_vids = $php5tube->getUserVideos('rickrolled','',1,10);
    $vid_comments = $php5tube->getVideoComments('oHg5SJYRHA0',1,10);
    $vid_info = $php5tube->getVideoInfo('oHg5SJYRHA0');


    What is Php5tube?

    Phptube is a class written by Debugged Interactive Designs in PHP5 to act as 
    a wrapper for Youtube's API. Methods process the response XML and return a 
    friendly array of data to make development simple and intuitive.

    Copyright (c) 2008 Debugged Interactive Designs. All rights reserved.
    This software is released under the GNU Lesser General Public License.
  Files folder image Files  
File Role Description
Plain text file Php5tube.php Class The class source
Accessible without login Plain text file test.php Example Drop this test script in the same directory as the class source
Accessible without login Plain text file README.txt Doc. Read this before you do anything else
Accessible without login Plain text file LICENSE.txt Lic. GNU Lesse General Public License

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,084All time:1,791
 This week:1This week:1,048Up
 User Ratings  
 All time