1. Go to this page and download the library: Download metowolf/meting library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
metowolf / meting example snippets
use Metowolf\Meting;
$api = new Meting('netease');
$data = $api->format(true)->search('Soldier');
// e 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', [
'page' => 1,
'limit' => 50
]);
echo $data;
// [{"id":35847388,"name":"Hello","artist":["Adele"],"album":"Hello","pic_id":"1407374890649284","url_id":35847388,"lyric_id":35847388,"source":"netease"},{"id":33211676,"name":"Hello","artist":["OMFG"],"album":"Hello",...
// Parse link
$data = $api->format(true)->url(35847388);
echo $data;
// {"url":"http:\/\/...","size":4729252,"br":128}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.