zgetro / php-i-tunes-api
just a wrapper of itune open api. https://github.com/ijanerik/PHP-iTunes-API
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 7
pkg:composer/zgetro/php-i-tunes-api
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-09-29 02:21:59 UTC
README
A super simple class for reading the iTunes API.
A simple search example
This example gets the results by searching for "Maroon5" in the iTunes store of the Netherlands. The results are stored in an array.
<?php
$results = iTunes::search('Maroon 5', array(
'country' => 'NL'
))->results;
?>
A simple lookup example
Get the albums of the artist with the id "909253".
<?php
$albums = iTunes::lookup(909253, 'id', array(
'entity' => 'album'
))->results;
?>
For all the config information look at the iTunes API page: