metowolf a857ddd016 🍰 Incremented version to 1.5.0
- new Xiami API
 - rollback Netease API to weapi
 - fixed Baidu API
 - enhanced core code
2018-03-03 15:09:00 +08:00
2018-03-03 15:09:00 +08:00
2018-03-03 15:09:00 +08:00
2017-09-07 21:59:25 +08:00
2017-08-06 11:03:13 +08:00
2017-09-07 21:59:25 +08:00
2018-02-05 23:41:29 +08:00
2017-06-25 13:49:22 +08:00
2018-02-10 00:17:02 +08:00

Meting

Author Version Downloads Travis License

🍰 Wow, such a powerful music API framework

Introduction

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 tencent, netease, xiami, kugou, baidu and more.
  • Free - Under MIT license, you can use it anywhere if you want.

Requirement

PHP 5.4+ and Curl, OpenSSL extension installed

Install

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('tencent');

$data = $api->format(true)->search('Soldier');

Note: Meting requires the cURL and OpenSSL extension in order to work.

Quick Start

require 'vendor/autoload.php';
// require 'Meting.php';

use Metowolf\Meting;

// Initialize to netease API
$api = new Meting('tencent');

// Use custom cookie (option)
$api->cookie('paste your cookie');

// Get data
$data = $api->format(true)->search('Soldier', [
    'page' => 1,
    'limit' => 50
]);

// Enjoy
echo $data;

More usage

Join the Discussion

Author

Meting © metowolf, Released under the MIT License.

Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo

Description
Mating是一个强大的音乐API框架,旨在加速音乐相关的开发。这是原始PHP Mating项目的Node. js版本,为多个音乐平台提供统一的API。
Readme MIT 362 KiB
Languages
JavaScript 100%