定制 pond/tunes 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pond/tunes

最新稳定版本:v0.4.1

Composer 安装命令:

composer require pond/tunes

包简介

Library for querying the Apple iTunes Store

README 文档

README

Build Status Dependency Status Scrutinizer Code Quality

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;
use HttpAdapter\CurlHttpAdapter;

$httpAdapter = new CurlHttpAdapter();

$search = new Search($httpAdapter);
$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.

统计信息

  • 总下载量: 2.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-03-08