User avatar
zag
Site Admin
Site Admin
Posts: 1199
Joined: Wed Jun 06, 2012 9:19 am
Country: United Kingdom

PHP API example

Thu Nov 28, 2013 12:51 pm

The tutorial to use the API is here:

viewtopic.php?f=6&t=7

But if you want to test the API quickly, here is an example in PHP:

Code: Select all

<?php
$data = json_decode(file_get_contents('www.theaudiodb.com/api/v1/json/APIKEY/search.php?s=coldplay'));
var_dump($data);
?>

Return to “Developers”