跳转至

sound_power

models.sound_power

音响力与听歌榜相关数据模型.

SoundPowerEquity pydantic-model

Bases: Response

音响力等级特权项.

ATTRIBUTE DESCRIPTION
etype

特权类型编码.

TYPE: int

name

特权名称.

TYPE: str

icon

特权图标链接.

TYPE: str

scheme

跳转链接.

TYPE: str

Fields:

SoundPowerInfo pydantic-model

Bases: Response

音响力基础信息.

ATTRIBUTE DESCRIPTION
level

当前等级数字 (0 对应 S0).

TYPE: int

value

累计数值.

TYPE: int

name

等级称号.

TYPE: str

icon

等级图标.

TYPE: str

current_value

当前等级区间累计值.

TYPE: int

next_value

升级至下一等级所需总阈值.

TYPE: int

reach_max_level

是否达到最高等级.

TYPE: int

is_huge_vip

是否激活超级会员加成.

TYPE: bool

next_level_nums

升级称号所需人数或参数.

TYPE: int

next_level_icon

下一等级图标.

TYPE: str

Fields:

  • level (int)
  • value (int)
  • name (str)
  • icon (str)
  • current_value (int)
  • next_value (int)
  • reach_max_level (int)
  • is_huge_vip (bool)
  • next_level_nums (int)
  • next_level_icon (str)

SoundPowerDetailResponse pydantic-model

Bases: Response

音响力等级主页响应数据.

ATTRIBUTE DESCRIPTION
power_info

音响力基础等级信息.

TYPE: SoundPowerInfo

medal_num

拥有勋章数量.

TYPE: int

nick

用户昵称.

TYPE: str

head_pic

头像图片链接.

TYPE: str

today_listen_time

今日累计有效听歌时间 (秒).

TYPE: int

equity_text

特权文本提示.

TYPE: str

equities

解锁及未解锁特权列表.

TYPE: list[SoundPowerEquity]

is_hugevip

是否为超级会员 (1 为是).

TYPE: int

hugevip_power_info

超级会员专属加速信息.

TYPE: dict[str, Any] | None

medal_info

佩戴勋章信息.

TYPE: dict[str, Any] | None

Fields:

HugevipLevelRuleItem pydantic-model

Bases: Response

超会等级规则条目.

ATTRIBUTE DESCRIPTION
level

等级数字.

TYPE: int

name

等级名称.

TYPE: str

icon

等级图标.

TYPE: str

need_duration

升级所需时长 (分钟).

TYPE: int

percent

对应加速百分比.

TYPE: str

Fields:

HugevipLevelRuleResponse pydantic-model

Bases: Response

超级会员音响力加速与等级规则响应.

ATTRIBUTE DESCRIPTION
current_duration

当前已达成有效物理时长.

TYPE: int

next_level_duration

升级下一阶段所需时长.

TYPE: int

rules

规则列表.

TYPE: list[HugevipLevelRuleItem]

Fields:

FriendRankItem pydantic-model

Bases: Response

好友听歌日榜单条目.

ATTRIBUTE DESCRIPTION
uin

好友 UIN.

TYPE: str

nick

好友昵称.

TYPE: str

pic

头像链接.

TYPE: str

play_time

听歌物理累计时间 (秒).

TYPE: int

like_num

获赞数量.

TYPE: int

like_status

当前用户点赞状态 (0 为未点赞, 1 为已赞).

TYPE: int

no

榜单排名 (1 为第一名).

TYPE: int

sp_info

音响力等级快照.

TYPE: dict[str, Any]

medal_info

佩戴勋章快照.

TYPE: dict[str, Any]

Fields:

FriendRankResponse pydantic-model

Bases: Response

好友听歌日榜响应数据.

ATTRIBUTE DESCRIPTION
ranks

好友排行列表.

TYPE: list[FriendRankItem]

my_rank_no

当前用户在好友榜的排名.

TYPE: int

my_play_time

当前用户今日听歌秒数.

TYPE: int

my_like_num

当前用户获赞总数.

TYPE: int

has_more

是否还有更多好友 (0 为否, 1 为是).

TYPE: int

rankno

榜单流水号或批次号.

TYPE: int

Fields:

LikeFriendResponse pydantic-model

Bases: Response

好友听歌榜点赞操作响应.

ATTRIBUTE DESCRIPTION
no_use

状态占位符.

TYPE: int

Fields:

SetRankPrivacyResponse pydantic-model

Bases: Response

好友排行榜隐私状态设置响应.

ATTRIBUTE DESCRIPTION
status

设置后的隐私开关状态.

TYPE: int

Fields:

SoundPowerMedalItem pydantic-model

Bases: Response

听歌勋章条目.

ATTRIBUTE DESCRIPTION
pic_url

勋章图标 URL.

TYPE: str

scheme

点击跳转 Scheme.

TYPE: str

Fields:

SoundPowerMedalEntryResponse pydantic-model

Bases: Response

音响力勋章馆入口响应数据.

ATTRIBUTE DESCRIPTION
title

模块标题 (如 '听歌勋章').

TYPE: str

medal_cnt

点亮勋章总数.

TYPE: int

medal_list

勋章展示列表.

TYPE: list[SoundPowerMedalItem]

Fields:

ActTaskModulesResponse pydantic-model

Bases: Response

音响力加速任务响应.

ATTRIBUTE DESCRIPTION
ret_code

结果状态码.

TYPE: int

ret_msg

结果信息.

TYPE: str

task_modules

任务模块列表.

TYPE: list[dict[str, Any]] | None

act_info

活动元数据.

TYPE: dict[str, Any]

Fields: