mirror of
https://github.com/metowolf/Meting.git
synced 2026-09-03 07:27:07 +08:00
1.7 KiB
1.7 KiB
Meting
:lollipop:Wow, such a powerful music API framework
Introduction
A powerful music API framework to accelerate development
- Easy - Easy to use, suppose format return.
- Light - 38KB 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.
Requirement
PHP 5.3+ and Curl extension installed
Get Started
Install via composer
Add Meting to composer.json configuration file.
$ composer require metowolf/meting
And update the composer
$ composer update
Install via require
// If you installed via composer, just use this code to requrie autoloader on the top of your projects.
require 'vendor/autoload.php';
// Or require file
// require 'Meting.php';
// Using Metowolf namespace
use Metowolf\Meting;
// Initialize to netease API
$API = new Meting('netease');
// Get data
$data = $API->format(true)->search('Soldier');
// Enjoy
echo $data;
More usage
Related Projects
License
Meting is under the MIT license.
Links
Official website: https://i-meto.com
Demo: https://music.i-meto.com