Git Product home page Git Product logo

netease-cloud-api's Introduction

网易云音乐升级API

Author PHP

这是一个通过调用官方接口,能够提供网易云音乐每日听满300首歌曲的基于PHP语言的API项目。

强烈建议配合python全自动脚本项目使用更佳:https://github.com/ZainCheung/netease-cloud

灵感来自

Binaryify/NeteaseCloudMusicApi

功能特性

  1. 登录
  2. 签到
  3. 查询用户信息
  4. 听完300首歌曲
  5. 刷单曲播放次数

安装部署

https://zaincheung.gitee.io/netease-cloud/#/api/

接口文档

https://zaincheung.gitee.io/netease-cloud/#/document/

声明

本项目的所有脚本以及软件仅用于个人学习开发测试,所有网易云相关字样版权属于网易公司,勿用于商业及非法用途,如产生法律纠纷与本人无关。

netease-cloud-api's People

Contributors

daphel avatar doveboy avatar haha44444 avatar secriy avatar zaincheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netease-cloud-api's Issues

api 好像失效了,一直提示账号密码错误

2021-01-18 15:59:45 root:INFO:账号: ************* 开始执行========================================
2021-01-18 15:59:45 root:ERROR:用户任务执行中断,请检查账号密码是否正确========================================

API登录返回250错误?

近期API并发一高,遇到一个头痛的问题。

一开始是搭建好API是正常的,正常使用几天后就在登录时一直返回以下错误信息:
{"message":"当前登录失败,请稍后再试","code":250}

一直不见好转,尝试过关闭API站点数小时后重新登录也依旧出现如上报错。

请问这个情况是什么原因呢?又该如何解决?

【活动】API接口征集

鉴于API接口的可复用性,以及方便新手试用,特开一个API征集Issue,欢迎大家积极贡献API,共同构建项目生态

规则:在下面回复你的API地址即可,一到两天内在通过测试之后即会更新发布至文档中(附带你的Github用户地址一起发布),在你回复地址时即表示已知悉并接受该规则。严禁留下带有后门的API!!!

格式要求:

接口地址:填写你的API地址,要求打开后可以看到欢迎界面

请看一下我的日志,这是什么原因导致的?日志提示:用户任务执行中断,请检查账号密码是否正确

返回数据:

null

日志:

START RequestId: 1bbb7968-5ef3-4e6d-adfa-4c8ff4ed5e4a

Event RequestId: 1bbb7968-5ef3-4e6d-adfa-4c8ff4ed5e4a

配置文件读取完毕

Starting new HTTP connection (1): api.ouu.ink:80

http://api.ouu.ink:80 "GET /?do=check HTTP/1.1" 200 None

api测试正常

多人开关已打开,即将执行进行多人任务

账号: 17606707675 开始执行

========================================

Starting new HTTP connection (1): api.ouu.ink:80

http://api.ouu.ink:80 "POST /?do=login HTTP/1.1" 200 None

2020.09.02-02:00:04 用户任务执行中断,请检查账号密码是否正确

python3运行之后出错。

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 1182, in run
self.function(*self.args, **self.kwargs)
File "/home/下载/wangyi/netease-cloud/main.py", line 247, in taskPool
config = init()
File "/home/下载/wangyi/netease-cloud/main.py", line 192, in init
uin = config['token']['account']
File "/usr/lib/python3.6/configparser.py", line 959, in getitem
raise KeyError(key)
KeyError: 'token'

请问一下,这个问题出在哪里呢?api测试是可以使用的。账号密码也都是对的。

其余接口正常 ?do=daka 报错 504 Gateway Timeout

环境是 ubuntu20.04,php 环境是手动
sudo apt-get install -y php7.2-fpm php7.2-cli php7.2-json php7.2-curl php7.2-imap php7.2-gd php7.2-mysql php7.2-xml php7.2-zip php7.2-intl php7.2-imagick php7.2-mbstring
安装的,昨天 ubuntu 18.04 好像还好好的升级成 20.04 就不行了(升级系统时自动升级成了 php7.4,发现报了这个错后再手动删了重装的 php7.2 还是不行)。在两台 ubuntu20.04 的机子上都试过了,也增加了超时时间不知道为什么都报这个 504 的错。

以及 do=check 接口返回值 301 应该是表示网易已经启用了该接口是否需要对应更改部分代码?

接口似乎失效

你好,我把API部署到我自己的服务器上,按照你说的访问也可以跳出help.html页面。然后点击页面中的检查它返回{code:301}。接着这两天Server酱都提示听歌任务完成,可是我去网易看了一下记录,并没有变化。两天没有增加1首歌。请问这是api的问题还是?

自己部署服务器到腾讯云发现打开歌曲永远0首

测试了很多次,能登录,签到永远重复,歌曲永远0首。
最后切换回了glitch,一下子就好了。
相同的代码,感觉像是IP限制导致的。

腾讯云

配置文件读取完毕
api测试正常
账号: [email protected] 开始执行============================
登录成功
https://(此处是服务器域名)/?do=sign
{'code': 301, 'message': None}
重复签到
https://(此处是服务器域名)/?do=detail
{'level': 8, 'listenSongs': 6620, 'userPoint': {'userId':
获取用户详情成功
https://(此处是服务器域名)/?do=daka
{'code': 200, 'count': 1000}
用户:ye4241 第1次打卡成功,即将休眠30秒
https://(此处是服务器域名)/?do=detail
{'level': 8, 'listenSongs': 6620, 'userPoint': {'userId':
`

glitch

配置文件读取完毕
api测试正常
账号: [email protected] 开始执行===========================
登录成功
https://netease-cloud-api-ye4241.glitch.me?do=sign
{'code': -2, 'msg': '重复签到'}
重复签到
https://netease-cloud-api-ye4241.glitch.me?do=detail
{'level': 8, 'listenSongs': 6620, 'userPoint': {'userId':
获取用户详情成功
https://netease-cloud-api-ye4241.glitch.me?do=daka
{'code': 200, 'count': 1000}
用户:ye4241 第1次打卡成功,即将休眠30秒
https://netease-cloud-api-ye4241.glitch.me?do=detail
{'level': 8, 'listenSongs': 6620, 'userPoint': {'userId':

失效了

失效了,可以登录和签到,但是打卡无响应

关于更新了国际手机号导致的问题

非常抱歉各位,因为个人的小失误导致了大家更新了API后都不能用,现在已经修复,大家可以再测试一下有没有恢复正常,有后续相关问题可以在下面提出。

通知

本项目提供的线上 demo均来自网友捐赠,目的在于为不方便搭建API的用户提供便利,但目前有网友反馈接口被滥用导致进了网易黑名单,故暂时不再提供相关API,后续解决办法可能会使用云函数搭建。

最后再次感谢为项目做出贡献的每一位,决定项目生态的不是代码,而是每一个参与者,感谢大家!

api

腾讯云
api.czmz.top

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.