Files
RSSHub/lib/v2/spotify/radar.js
Outvi V 36b4cc5baa feat(route): add spotify (#8966)
* feat: /spotify/playlist/:id

* feat: /spotify/artist

* feat(spotify/artist): add to radar

* feat: /spotify/saved

* feat: /spotify/top/{tracks,artists}

* feat(spotify): add images for artist and playlist

* docs: /spotify/*

* docs/en: /spotify configurations

* chore(spotify): apiKey/Secret -> clientId/Secret

* fix(spotify/utils): genres can be empty
2022-02-04 18:46:53 +08:00

38 lines
1.2 KiB
JavaScript

module.exports = {
'spotify.com': {
_name: 'Spotify',
open: [
{
title: '播放列表',
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
source: ['/playlist/:id'],
target: '/spotify/playlist/:id',
},
{
title: '歌手专辑',
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
source: ['/artist/:id'],
target: '/spotify/artist/:id',
},
{
title: '用户 Saved Tracks',
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
source: ['/collection/tracks'],
target: '/spotify/saved',
},
{
title: '用户 Top Tracks',
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
source: ['/'],
target: '/spotify/top/tracks',
},
{
title: '用户 Top Artists',
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
source: ['/'],
target: '/spotify/top/artists',
},
],
},
};