跳转至

TopList

function get_toplist_category

获取所有排行榜

Task< Result < nlohmann::json > > qqmusic::get_toplist_category () 


function get_toplist_item_detail

获取排行榜条目信息

Task< Result < nlohmann::json > > qqmusic::get_toplist_item_detail (
    unsigned top_id,
    unsigned num=10,
    unsigned page=1,
    bool tag=true
) 

Parameters:

  • top_id 排行榜ID
  • num 返回数量, 默认为10
  • page 页码, 默认为0
  • tag 是否返回歌曲标签, 默认为true

Returns: