Skip to content

Data Card for Spotify

动态生成 Spotify 数据,嵌入你的 README 或网站。

ref-reporef-online-toolref-official-doc

参数

点击显示/关闭参数

名称类型必填默认值参数描述更多描述
ref-querys
userIdstringtrueSpotify 用户 ID
show_borderbooleanfalse是否在数据卡片周围显示白色边框可选值:true false
show_datebooleanfalse是否显示数据卡片生成时的日期和时间可选值:true false
time_zonestringAmerica/Los_Angeles时区参考:时区列表
custom_titlestring自定义标题
hide_titlebooleanfalse是否隐藏标题
hide_explicitbooleanfalse是否全局隐藏限制级曲目
hide_playingbooleanfalse是否隐藏正在收听部分
hide_recentsbooleanfalse是否隐藏最近播放的曲目部分
hide_top_tracksbooleanfalse是否隐藏热门歌曲部分
hide_top_artistsbooleanfalse是否隐藏热门艺术家部分
limitnumber5每部分显示的曲目数量可选值:110
txt
https://data-card-for-spotify.herokuapp.com/api/card{?userId,show_border,show_date,time_zone,custom_title,hide_title,hide_explicit,hide_playing,hide_recents,hide_top_tracks,hide_top_artists,limit}

示例

markdown
<!-- magic-ike -->
![Spotify 数据卡片](https://data-card-for-spotify.herokuapp.com/api/card?user_id=12146253656&hide_explicit=true&limit=1)
Spotify 数据卡片

Readme Widget Hub (v4.1.4) MIT Licensed