cookieguru/googlemusicsearch
最新稳定版本:1.0.4
Composer 安装命令:
composer require cookieguru/googlemusicsearch
包简介
PHP class to search the Google Play Music store
README 文档
README
This was a PHP class to search the Google Play Music store.
Archive notice
Due to Google's descision to replace Google Play Music with YouTube Music support for this package has ended. According to the announcement on May 12, 2020 the official transition was to begin "later in 2020". The actual transition happened on October 7th, 2020.
Installation
Install with Composer. A sample composer.json:
{
"require": {
"cookieguru/googlemusicsearch": "~1.0.4"
}
}
If you're not using Composer, just include API.php and GoogleMusicTrack.php
Usage
require 'vendor/autoload.php'; $api = new \cookieguru\googlemusicsearch\API(); $api->setUserAgent('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0'); $api->verifyPeer(false); //This line may not be needed in your situation $results = $api->search('Wezz Devall feat. Alana Aldea - On The Rise (Original Mix)'); print_r($results[0]);
Outputs:
cookieguru\googlemusicsearch\GoogleMusicTrack Object
(
[url] => https://play.google.com/store/music/album?id=Bhtcvtbwf7q532tc7xk4j3j4hia&tid=song-Turpkonwsebw6hzstiith765abu
[artist] => Wezz Devall feat. Alana Aldea
[title] => On The Rise (Original Mix)
[price] => $1.29
)
Copyright and License
Copyright (c) 2014 Cookie Guru
This class is licensed under the The MIT License.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
cookieguru/googlemusicsearch 适用场景与选型建议
cookieguru/googlemusicsearch 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.48k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2015 年 05 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Google Music」 「Google Play Store」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cookieguru/googlemusicsearch 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cookieguru/googlemusicsearch 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cookieguru/googlemusicsearch 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP wrapper for command-line fingerprint generator - fpcalc
Simple way to get app market version information from Google Play store or Apple App Store
Library that obtains VK tokens that work for VK audio API. Библиотека для получения токена VK, подходящего для Audio API.
Scrapes app data from Google Play store.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
A PHP scraper to get app data from Google Play
统计信息
- 总下载量: 1.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-03