小程序-云音乐
  1. 电台
小程序-云音乐
  • 使用须知
  • 首页中心
    • 榜单
      • 获取所有榜单
      • 根据榜单的ID获取榜单
    • 歌单
      • 获取推荐歌单
      • 获取歌单中所有歌曲
      • 获取歌单详情
      • 获取歌单详情动态
      • 获取歌单分类
      • 获取热门歌单分类
      • 根据歌单分类获取歌单( 网友精选碟 )
      • 收藏/取消收藏歌单
    • 电台
      • 获取热门电台
        GET
      • 获取推荐电台
        GET
      • 获取电台今日优选电台
        GET
      • 获取电台分类
        GET
      • 根据分类id获取热门电台列表
        GET
      • 获取电台详情
        POST
      • 获取电台节目列表
        GET
      • 订阅电台
        POST
    • 搜索
      • 获取默认搜索关键词
      • 获取热搜列表(简略)
      • 获取热搜列表(详细)
      • 根据关键字进行搜索
      • 获取搜索建议
    • 获取轮播图
      GET
    • 获取每日推荐歌曲
      POST
  • 登录
    • 二维码登录
      • 二维码 key 生成
      • 根据key生成二维码
      • 检测二维码扫码状态
    • 游客登录
      GET
    • 退出登录
      GET
  • 个人中心
    • 获取用户信息
      • 根据id获取用户信息
      • 获取用户信息 , 歌单,收藏,mv, dj 数量
      • 获取账号信息
      • 获取用户等级信息
      • 获取登录状态
    • 歌单
      • 获取用户歌单
    • 最近播放
      • 最近播放-歌曲
      • 最近播放-视频
      • 最近播放-歌单
      • 最近播放-专辑
      • 最近播放-播客
      • 最近播放-声音
      • 将 mlog id 转为视频 id
    • 我的收藏
      • 获取收藏的专辑
      • 获取收藏的mv
      • 获取点赞过的视频
      • 获取我收藏的电台
    • 更新用户信息
      • 更新用户信息
      • 可更新头像
  • 视频中心
    • mv
      • 获取全部 mv
      • 获取推荐的mv
      • 获取 mv 数据
      • 获取 mv 点赞转发评论数数据
      • 获取 mv 播放地址
    • 视频
      • 获取推荐的视频
      • 获取全部视频列表
      • 获取视频详情
      • 获取视频点赞转发评论数数据
      • 获取视频播放地址
      • 获取视频标签列表
      • 获取视频标签/分类下的视频
  • 通用
    • 歌曲
      • 歌曲详情字段说明
      • 获取歌曲url
      • 喜欢音乐
      • 获取喜欢音乐列表
    • 歌词
      • 获取歌曲的歌词
      • 获取歌曲的逐字歌词
    • 评论
      • 获取资源评论
      • 获取楼层评论
      • 给评论点赞
      • 发送/删除评论
    • 收藏资源
      • 收藏视频
      • 收藏 MV
      • 收藏歌单
      • 收藏专辑
    • 歌单
      • 歌单添加或删除歌曲
      • 新建歌单
      • 删除歌单
    • 点赞资源(歌曲,歌单,MV,电台,视频)
    • 心动模式/智能播放
  1. 电台

根据分类id获取热门电台列表

开发中
GET
/dj/radio/hot
limit : 返回数量 , 默认为 30
offset : 偏移数量,用于分页 , 如 :( 页数 -1)*30, 其中 30 为 limit 的值 , 默认为 0
cateId: 类别 id,可通过 /dj/category/recommend 接口获取

请求参数

Query 参数
type
string 
可选
示例值:
2001
cateId
string 
可选
示例值:
2001

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:3000/dj/radio/hot?type=2001 &cateId=2001'

返回响应

🟢200成功
application/json
Body
djRadios
array [object {41}] 
必需
dj
object 
必需
category
string 
必需
secondCategory
string 
必需
buyed
boolean 
必需
price
integer 
必需
originalPrice
integer 
必需
discountPrice
null 
必需
purchaseCount
integer 
必需
lastProgramName
string 
必需
videos
null 
必需
finished
boolean 
必需
underShelf
boolean 
必需
liveInfo
null 
必需
playCount
integer 
必需
privacy
boolean 
必需
icon
null 
必需
manualTagsDTO
null 
必需
descPicList
array | null 
必需
replaceRadioId
integer 
必需
replaceRadio
null 
必需
dynamic
boolean 
必需
shortName
string  | null 
必需
subCount
integer 
必需
intervenePicId
integer 
必需
categoryId
integer 
必需
taskId
integer 
必需
programCount
integer 
必需
picId
integer 
必需
feeScope
integer 
必需
lastProgramId
integer 
必需
lastProgramCreateTime
integer 
必需
radioFeeType
integer 
必需
intervenePicUrl
string 
必需
picUrl
string 
必需
name
string 
必需
id
integer 
必需
createTime
integer 
必需
desc
string 
必需
rcmdtext
string 
必需
subed
boolean 
必需
lastUpdateProgramName
string 
必需
hasMore
boolean 
必需
code
integer 
必需
示例
{
    "djRadios": [
        {
            "dj": {
                "defaultAvatar": false,
                "province": 310000,
                "authStatus": 1,
                "followed": false,
                "avatarUrl": "http://p1.music.126.net/zxFXVY7ltA5SHleMYwa2yA==/109951166093845207.jpg",
                "accountStatus": 0,
                "gender": 2,
                "city": 310101,
                "birthday": 1405267200000,
                "userId": 286956644,
                "userType": 4,
                "nickname": "徐晗徐晗徐晗",
                "signature": "「工作」请联系微信:xuhan_0115",
                "description": "",
                "detailDescription": "",
                "avatarImgId": 109951166093845200,
                "backgroundImgId": 109951163412570620,
                "backgroundUrl": "http://p1.music.126.net/tFeTKLT2CwB0GHWAglmDBg==/109951163412570632.jpg",
                "authority": 0,
                "mutual": false,
                "expertTags": null,
                "experts": null,
                "djStatus": 10,
                "vipType": 11,
                "remarkName": null,
                "authenticationTypes": 20488,
                "avatarDetail": {
                    "userType": 4,
                    "identityLevel": 1,
                    "identityIconUrl": "https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4874132307/4499/f228/d867/da64b9725e125943ad4e14e4c72d0884.png"
                },
                "backgroundImgIdStr": "109951163412570632",
                "avatarImgIdStr": "109951166093845207",
                "anchor": true,
                "avatarImgId_str": "109951166093845207"
            },
            "category": "创作翻唱",
            "secondCategory": "歌曲翻唱",
            "buyed": false,
            "price": 0,
            "originalPrice": 0,
            "discountPrice": null,
            "purchaseCount": 0,
            "lastProgramName": "刻在我心底的名字",
            "videos": null,
            "finished": false,
            "underShelf": false,
            "liveInfo": null,
            "playCount": 0,
            "privacy": false,
            "icon": null,
            "manualTagsDTO": null,
            "descPicList": null,
            "replaceRadioId": 0,
            "replaceRadio": null,
            "dynamic": false,
            "categoryId": 2001,
            "taskId": 0,
            "programCount": 12,
            "shortName": "",
            "subCount": 2404,
            "picId": 109951165527659740,
            "lastProgramId": 2071298534,
            "feeScope": 0,
            "lastProgramCreateTime": 1609556602700,
            "radioFeeType": 0,
            "intervenePicUrl": "https://p2.music.126.net/Rju8MVYLS9DxY3FV_V2Rdg==/109951165527659738.jpg",
            "picUrl": "https://p2.music.126.net/Rju8MVYLS9DxY3FV_V2Rdg==/109951165527659738.jpg",
            "intervenePicId": 109951165527659740,
            "desc": "分享一些喜欢的歌。",
            "createTime": 1479984780670,
            "name": "一些小心情…",
            "id": 344815055,
            "rcmdtext": "徐晗姐姐の歌",
            "subed": false
        },
        {
            "dj": {
                "defaultAvatar": false,
                "province": 510000,
                "authStatus": 1,
                "followed": false,
                "avatarUrl": "http://p1.music.126.net/fd5WDRFbIQQospFEwY4MMA==/109951167178865047.jpg",
                "accountStatus": 0,
                "gender": 2,
                "city": 510100,
                "birthday": 972057600000,
                "userId": 503833386,
                "userType": 4,
                "nickname": "iceupxx",
                "signature": "别爱我没结果 除非飙车赢过我",
                "description": "",
                "detailDescription": "",
                "avatarImgId": 109951167178865040,
                "backgroundImgId": 109951165959668420,
                "backgroundUrl": "http://p1.music.126.net/GHJP9EGLY3Hq88ZuPSBbZg==/109951165959668415.jpg",
                "authority": 0,
                "mutual": false,
                "expertTags": null,
                "experts": null,
                "djStatus": 10,
                "vipType": 0,
                "remarkName": null,
                "authenticationTypes": 4104,
                "avatarDetail": {
                    "userType": 4,
                    "identityLevel": 1,
                    "identityIconUrl": "https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4874132307/4499/f228/d867/da64b9725e125943ad4e14e4c72d0884.png"
                },
                "backgroundImgIdStr": "109951165959668415",
                "avatarImgIdStr": "109951167178865047",
                "anchor": true,
                "avatarImgId_str": "109951167178865047"
            },
            "category": "创作翻唱",
            "secondCategory": "歌曲翻唱",
            "buyed": false,
            "price": 0,
            "or
修改于 2023-07-15 01:50:08
上一页
获取电台分类
下一页
获取电台详情
Built with