tnapf/spotify
最新稳定版本:v0.1.0-alpha
Composer 安装命令:
composer require tnapf/spotify
包简介
A Spotify API Wrapper
README 文档
README
A proper Spotify API client for PHP (still in development)
Installation
composer require tnapf/spotify
Usage
Creating a new Spotify object
use Tnapf\Spotify\Client; use Psr\Http\Client\ClientInterface; $httpClient = ClientInterface::class; // <- must be a client interface implementation $spotify = new Client($httpClient, $clientId, $clientSecret);
Making requests
/** @var Album */ $spotify->albums->get('0rGKEhiSyEwmcpQoU5Gg61');
Since everything will eventually be mapped you'll get autocomplete from your IDE so you don't have to look up the documentation all the time.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-25