JMSBot / pondtunes

Small library to query the Apple iTunes Webservice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PondTunes

PondTunes is a PHP 5.3+ library to query the Apple iTunes Store. It is the successor of https://github.com/daFish/Zend_Service_Itunes.

This library is still under development but feel free to contribute in any way.

Installation:

Add PondTunes to your composer.json:

{
    "require": {
        "pond/tunes": "*"
    }
}

Use PondTunes?

Basic example of querying the Apple iTunes Store API:

<?php

use Pond\Tunes\Search;
use Pond\Tunes\Tunes;

$search = new Search();
$search->setTerms('angry birds')
       ->setEntity(array(Tunes::MEDIATYPE_SOFTWARE => 'software'));

$result = $search->request();

$result contains the result in JSON. You can easily return this result in any AJAX-request.

About

Small library to query the Apple iTunes Webservice

License:MIT License


Languages

Language:PHP 100.0%