Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of K.S.Richard  >  TubeMix API  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: TubeMix API
Get a mix of random YouTube videos using Tube-mix
Author: By
Last change:
Date: 2013-10-01 07:12
Size: 379 bytes
 

Contents

Class file image Download
<?php
require_once("TubeMixAPI.php");
$api=new TubeMixAPI();
$api->tags="skrillex,rihanna";  // get songs from skrillex and rihanna randomly
$api->withbg=true// want background for the actual song
$api->apikey="APIKEY"// define apikey! IMPORTANT! if you haven't got api key go to: http://tube-mix.com/api_fb_app/ and follow the instructions!
$q=$api->query();
print_r($q);
?>