dariusiii/php-itunes-api

Query iTunes API System

v1.0.11 2020-08-20 18:36 UTC

This package is auto-updated.

Last update: 2024-12-30 02:49:54 UTC


README

iTunes Query System

CircleCI

Requirements:

  • PHP >= 7.2

Installation:

With Composer:

{
    "require": {
        "dariusiii/php-itunes-api": "dev-master"
    }
}

Usage:

You can search artists, albums and tracks (by now)

<?php
use DariusIII\ItunesApi\iTunes;

$artistsFinder = iTunes::load('artist');
$albumsFinder = iTunes::load('album');
$tracksFinder = iTunes::load('track');
$moviesFinder = iTunes::load('movie');
$ebooksFinder = iTunes::load('ebook');

Finders' methods

Artists Finder
Albums Finder
Tracks Finder
Movies Finder
Ebooks Finder

Entities

Artist Entity
Album Entity
Track Entity
Movie Entity
Ebook Entity

Collections

Collection

A Collection is an ArrayObject

SearchResults

A SearchResults is an ArrayObject