Skip to content

注册(修改密码)

调用此接口 ,传入手机号码和验证码,密码,昵称, 可注册网易云音乐账号(同时可修改密码)

接口信息

项目
接口地址/register/cellphone
请求方式GET / POST
需要登录
对应模块register_cellphone
文档分类用户与登录

请求参数

参数类型必填默认值说明
captchastring-验证码
phonestring-手机号码
passwordstring-密码
nicknamestring-昵称
countrycodestring86国家码,用于国外手机号,例如美国传入:1 ,默认 86 即中国

HTTP 示例

bash
GET /register/cellphone?phone=13xxx&password=xxxxx&captcha=1234&nickname=binary1345

编程式调用

ts
import { registerCellphone } from 'hana-music-api'

const result = await registerCellphone({
  phone: '13xxx',
  password: 'xxxxx',
  captcha: '1234',
  nickname: 'binary1345',
})

console.log(result.body)

补充说明

说明 : 调用此接口 ,传入手机号码和验证码,密码,昵称, 可注册网易云音乐账号(同时可修改密码)

必选参数 :

captcha: 验证码

phone : 手机号码

password: 密码

nickname: 昵称

可选参数 :

countrycode: 国家码,用于国外手机号,例如美国传入:1 ,默认 86 即中国

接口地址 : /register/cellphone

调用例子 : /register/cellphone?phone=13xxx&password=xxxxx&captcha=1234&nickname=binary1345

Released under the MIT License.