Coder Social home page Coder Social logo

neteasecloudmusicapi's Introduction

NeteaseCloudMusicApi

网易云音乐 API - PHP 版
基于网易云音乐 web 端接口改写的 PHP 版本, 建议 PHP 5.6 以上环境
本 API 为个人学习作品,请支持正版音乐,勿滥用

Function

  • 关键字搜索
  • 歌手热门单曲
  • 歌曲详细信息
  • 专辑解析
  • 歌单解析
  • 歌曲地址获取
  • 歌词解析
  • MV 解析
  • 移动端新 API

Thanks

Name License Author Link
Math_BigInteger MIT Jim Wigginton PHP
Algorithm - stkevintan Blog
NetEase-MusicBox MIT darknessomi Github
NeteaseCloudMusicApi MIT axhello Github
NeteaseCloud Music - Netease Inc. LINK

Get Started

# just download the MusicAPI.php into directory, require it with the correct path.
# in version 2, you should also put BigInteger.php into same directory, but don't require it.
require_once 'MusicAPI.php';

# Initialize
$api = new MusicAPI();

# Get data
$result = $api->search('hello');
// $result = $api->artist('46487');
// $result = $api->detail('35847388');
// $result = $api->album('3377030');
// $result = $api->playlist('124394335');
// $result = $api->url('35847388');
// $result = $api->lyric('35847388');
// $result = $api->mv('501053');

# return JSON, just use it
var_dump(json_decode($result));

Link

License

NeteaseCloudMusicApi is under the MIT license.

neteasecloudmusicapi's People

Contributors

metowolf avatar

Watchers

James Cloos avatar zach avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.