🍭Wow, such a powerful music API framework
A powerful music API framework to accelerate development
- Easy - Easy to use, suppose format return.
- Light - 42KB around with only one file.
- Powerful - Suppose various webserver, include netease, tencent, xiami, kugou, baidu and more.
- Free - Under MIT license, you can use it anywhere if you want.
PHP 5.4+ and Curl, OpenSSL extension installed
Require this package, with Composer, in the root directory of your project.
$ composer require metowolf/meting
Then you can import the class into your application:
use Metowolf\Meting;
$api = new Meting('netease');
$data = $api->format(true)->search('Soldier');
Note: Meting requires the cURL and OpenSSL extension in order to work.
require 'vendor/autoload.php';
// require 'Meting.php';
use Metowolf\Meting;
// Initialize to netease API
$api = new Meting('netease');
// Use custom cookie (option)
$api->cookie('paste your cookie');
// Get data
$data = $api->format(true)->search('Soldier');
// Enjoy
echo $data;
Meting © metowolf, Released under the MIT License.
Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo