Files
RSSHub/lib/v2/spotify/router.js
Caio Ramos f440e22b54 feat(route): Spotify show route (#12945)
* Add spotify show route

* refactor: sort entries

* docs: remove dupe field

* Update lib/v2/spotify/show.js
---------
2023-08-09 03:26:14 +08:00

9 lines
370 B
JavaScript

module.exports = function (router) {
router.get('/artist/:id', require('./artist'));
router.get('/playlist/:id', require('./playlist'));
router.get('/saved/:limit?', require('./saved'));
router.get('/show/:id', require('./show'));
router.get('/top/artists', require('./top')('artists'));
router.get('/top/tracks', require('./top')('tracks'));
};