Download the PHP package kilingzhang/netease-cloud-music-api without Composer

On this page you can find all versions of the php package kilingzhang/netease-cloud-music-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package netease-cloud-music-api

网易云音乐 API

免责声明

本项目仅限学习使用,本身目的仅为学习PHP等相关技术,不保证任何行为,不保证包括但不限于任何更新、维护,等行为。因为喜欢网易云音乐才选取本项目学习。所有版权均为网易所有,如有任何侵权行为,本项目将立刻删库。

强烈建议用户在使用本项目之前,对相关法律法规进行充分了解,并确保遵守所有适用的法律要求。在任何情况下,本项目的开发者和贡献者都不对用户的行为或使用本项目所产生的后果承担任何责任。

最后,再次强调,支持正版软件和合法使用是非常重要的。请用户在任何情况下遵守知识产权法和相关法律法规,不要进行任何侵权行为。

Latest Stable Version Latest Unstable Version License

描述

网易云音乐 API 网易云音乐 PHP 版 API 跨站请求伪造 (CSRF), 伪造请求头,调用网易云音乐官方 API

灵感来自

曾经用过@metowolf大大的网易接口,也是我搞网易云音乐接口的启蒙。本来想用此接口仿写个网易云音乐app。但是接口不全最后写到一半放弃了。直到遇到@Binaryify大大的nodejs版60+的API。感觉发现了新大陆/*哈哈哈哈*/。可是美中不足的就是这是nodejs,我一个phper当然想用php来实现。所以直接照搬了@Binaryify大大的接口,改成了PHP版本。也方便日后phper直接来使用。

log

vercel 部署 (强烈推荐)

功能

  1. 登录
  2. 刷新登录
  3. 获取用户信息,歌单,收藏,mv, dj 数量
  4. 获取用户歌单
  5. 获取用户电台
  6. 获取用户关注列表
  7. 获取用户粉丝列表
  8. 获取用户动态
  9. 获取用户播放记录
  10. 获取精品歌单
  11. 获取歌单详情
  12. 搜索
  13. 搜索建议
  14. 获取歌词
  15. 歌曲评论
  16. 收藏单曲到歌单
  17. 专辑评论
  18. 歌单评论
  19. mv 评论
  20. 电台节目评论
  21. banner
  22. 获取歌曲详情
  23. 获取专辑内容
  24. 获取歌手单曲
  25. 获取歌手 mv
  26. 获取歌手专辑
  27. 获取歌手描述
  28. 获取相似歌手
  29. 获取相似歌单
  30. 相似 mv
  31. 获取相似音乐
  32. 获取最近5个听了这首歌的用户
  33. 获取每日推荐歌单
  34. 获取每日推荐歌曲
  35. 私人 FM
  36. 签到
  37. 喜欢音乐
  38. 垃圾桶
  39. 歌单(网友精选碟)
  40. 新碟上架
  41. 热门歌手
  42. 最新 mv
  43. 推荐 mv
  44. 推荐歌单
  45. 推荐新音乐
  46. 推荐电台
  47. 推荐节目
  48. 独家放送
  49. mv 排行
  50. 获取 mv 数据
  51. 播放 mv
  52. 排行榜
  53. 云盘
  54. 电台-推荐
  55. 电台-分类
  56. 电台-分类推荐
  57. 电台-订阅
  58. 电台-详情
  59. 电台-节目
  60. 给评论点赞
  61. 获取动态

说明

本接口依照RESTful规范设计(有取舍 - -||

环境要求

镜像安装

vi /etc/hosts

127.0.0.1  i.music.163.com

docker build  -t  kilingzhang/netease-cloud-music-api:dev .

docker stop netease_cloud_music_api_container;
docker rm netease_cloud_music_api_container;

docker run -itd  --name=netease_cloud_music_api_container \
-p 80:80 \
-v  $(pwd):/var/www/html/NeteaseCloudMusicApi \
kilingzhang/netease-cloud-music-api:dev

curl http://i.music.163.com

{"code":0,"message":"it`s work successfully","data":{"docs":"https:\/\/blog.kilingzhang.com\/NeteaseCloudMusicApi","github":"https:\/\/github.com\/kilingzhang\/NeteaseCloudMusicApi"}}

源码安装

  1. 安装 composer (已安装可忽略)

    curl -s http://getcomposer.org/installer | php
  2. 安装 NeteaseCloudMusicApi

    git clone https://github.com/kilingzhang/NeteaseCloudMusicApi.git
  3. 依赖安装

    composer install
  4. nginx

    server {
    
        listen 80;
        server_name i.music.163.com;
        root /var/www/html/NeteaseCloudMusicApi;
        index index.php;
    
        location / {
            try_files $uri $uri/ /index.php?$query_string;
        }
    
        location ~ \.php$ {
            fastcgi_pass  127.0.0.1:5337;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
        }
    }

使用文档

在线文档 docs

License

The MIT License (MIT)


All versions of netease-cloud-music-api with dependencies

PHP Build Version
Package Version
Requires caoym/phpboot Version ^2.0.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kilingzhang/netease-cloud-music-api contains the following files

Loading the files please wait ....