定制 timlebrun/itunes-search 二次开发

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

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

timlebrun/itunes-search

最新稳定版本:v1.0.3

Composer 安装命令:

composer require timlebrun/itunes-search

包简介

A small package to interact with Itunes Search API

README 文档

README

This package aims to help interacting with Apple's iTunes Search API, to find stuff and things on the Store.

The API is kinda limited to about 20 requests a minute, so this package contains a small cache class and I strongly recommend using it.

Usage

Initializing

$options = [
	'cache' => './itunes.json',
	// todo add 'ttl' => 3600,
];
$itunes = Itunes::connect($options);
$itunes->bundle('com.airweb.tixipass');

// Returns an ItunesEntity Object

Lookup

Performs a Lookup request to the API

$itunes->lookup([
	'key' => 'value'
]);

// Returns an ItunesCollection object containing a list of ItunesEntity objects

To learn what keys and value you can set here, please refer to the Apple Documentation.

ItunesCollection object extends from Laravel's Collections.

Bundle ID

Its is possible to get an App by its bundle ID. It returns only a single entity, because Bundle IDs are unique. (maybe I should do the same for IDs ?).

$itunes->bundle('com.airweb.tixipass');

// Returns an ItunesEntity Object

This package comes with a WTFPL licence, so don't expect support or anything from me (please, thanks).

Love, bye ♥

统计信息

  • 总下载量: 987
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: WTFPL
  • 更新时间: 2018-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固