woomai/netease-cloud-music
Composer 安装命令:
composer require woomai/netease-cloud-music
包简介
README 文档
README
A simple PHP client library for Netease Cloud Music. Used in WooMai Bot V2.
Requirements
PHP 8.0 (64bit) or later
Installation
composer install woomai/netease-cloud-music ^1.0
Example Usage
<?php use WooMaiLabs\NeteaseCloudMusic\Client; /** * @var string $music_u Your MUSIC_U cookie. Can be null. */ $client = new Client($music_u); print_r(json_decode($client->search('Hand in Hand')->getBody())); print_r(json_decode($client->getSongUrl(1808556594)->getBody()));
API
It's simple and easy to read. Please checkout the source code.
Reference
License
MIT
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-07