PHP code example of pond / tunes
1. Go to this page and download the library: Download pond/tunes library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pond / tunes example snippets
use Pond\Tunes\Search;
use Pond\Tunes\Tunes;
use HttpAdapter\CurlHttpAdapter;
$httpAdapter = new CurlHttpAdapter();
$search = new Search($httpAdapter);
$search->setTerms('angry birds')
->setEntity(array(Tunes::MEDIATYPE_SOFTWARE => 'software'));
$result = $search->request();