mirror of
https://github.com/metowolf/Meting.git
synced 2026-09-03 07:27:07 +08:00
🌮 Upgrading Meting to 1.4.0
- Update Netease Music API (1.1.0.1232) - Add search options - Fixed randomHex
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 METO
|
||||
Copyright (c) 2018 METO <i@i-meto.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
19
README.md
19
README.md
@@ -2,13 +2,15 @@
|
||||
<img src="https://user-images.githubusercontent.com/2666735/30165599-36623bea-93a6-11e7-8956-1ddf99ce0e6f.png" alt="Meting">
|
||||
</p>
|
||||
|
||||
## Meting
|
||||
[](https://travis-ci.org/metowolf/Meting)
|
||||
[](https://packagist.org/packages/metowolf/Meting)
|
||||
[](https://packagist.org/packages/metowolf/meting)
|
||||
[](https://packagist.org/packages/metowolf/Meting)
|
||||
<p align="center">
|
||||
<a href="https://i-meto.com"><img alt="Author" src="https://img.shields.io/badge/Author-METO-blue.svg?style=flat-square"/></a>
|
||||
<a href="https://packagist.org/packages/metowolf/Meting"><img alt="Version" src="https://poser.pugx.org/metowolf/Meting/v/stable?format=flat-square"/></a>
|
||||
<a href="https://packagist.org/packages/metowolf/meting/stats"><img alt="Downloads" src="https://poser.pugx.org/metowolf/meting/downloads?format=flat-square"/></a>
|
||||
<a href="https://travis-ci.org/metowolf/Meting"><img alt="Travis" src="https://img.shields.io/travis/metowolf/Meting.svg?style=flat-square"></a>
|
||||
<img alt="License" src="https://poser.pugx.org/metowolf/Meting/license?format=flat-square"/>
|
||||
</p>
|
||||
|
||||
> :lollipop:Wow, such a powerful music API framework
|
||||
> :cake: Wow, such a powerful music API framework
|
||||
|
||||
## Introduction
|
||||
A powerful music API framework to accelerate development
|
||||
@@ -55,7 +57,10 @@ $api = new Meting('netease');
|
||||
$api->cookie('paste your cookie');
|
||||
|
||||
// Get data
|
||||
$data = $api->format(true)->search('Soldier');
|
||||
$data = $api->format(true)->search('Soldier', [
|
||||
'page' => 1,
|
||||
'limit' => 50
|
||||
]);
|
||||
|
||||
// Enjoy
|
||||
echo $data;
|
||||
|
||||
1173
src/Meting.php
1173
src/Meting.php
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,7 @@ class TencentTest extends TestCase
|
||||
}
|
||||
|
||||
public function testUrl(){
|
||||
$api = new Meting('tencnet');
|
||||
$api = new Meting('tencent');
|
||||
$data = $api->format(true)->url('001icUif3vTGcO');
|
||||
$data = json_decode($data,1);
|
||||
$this->assertNotEmpty($data);
|
||||
|
||||
Reference in New Issue
Block a user