PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Emre Korkut Or   YouTube Video API   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Youtube Video Test code
Class: YouTube Video API
Retrieve information about YouTube videos
Author: By
Last change:
Date: 14 years ago
Size: 280 bytes
 

Contents

Class file image Download
<?php

include "google_data.class.php";
include
"comment.class.php";
include
"comments.class.php";
include
"video.class.php";
include
"youtube.class.php";

$youtube = new youtube();
$youtube->execute("Chinese recipes");
echo
"<pre>";
var_dump($youtube->videos);
echo
"</pre>";
?>