Leo02 / Meting

:lollipop:Wow, such a powerful music API framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meting

Build Status Latest Stable Version 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 - 40KB 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.4+ and Curl, OpenSSL 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');

// Use custom cookie*
$API->cookie('paste your cookie');

// Get data
$data = $API->format(true)->search('Soldier');

// Enjoy
echo $data;

More usage

wiki/docs

Related Projects

License

Meting is under the MIT license.

Links

Official website: https://i-meto.com
Demo: https://music.i-meto.com

About

:lollipop:Wow, such a powerful music API framework

License:MIT License


Languages

Language:PHP 100.0%