Skip to content
/ Meting Public
forked from metowolf/Meting

🍭Wow, such a powerful music API framework

License

Notifications You must be signed in to change notification settings

yeesuu/Meting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meting

Meting

Build Status Latest Stable Version Total Downloads 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 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

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

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

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

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

// Enjoy
echo $data;

More usage

Join the Discussion

Related Projects

Author

Meting © metowolf, Released under the MIT License.

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

About

🍭Wow, such a powerful music API framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%