Files
RSSHub/lib/v2/twitter/router.js
Alex Liu 334485899c feat(route): add tweet details for twitter (#12412)
* feat(route): add tweet details for twitter

* docs: add english docs

* fix: sort router

---------
2023-05-02 04:31:03 +08:00

12 lines
660 B
JavaScript

module.exports = (router) => {
router.get('/collection/:uid/:collectionId/:routeParams?', require('./collection'));
router.get('/followings/:id/:routeParams?', require('./followings'));
router.get('/keyword/:keyword/:routeParams?', require('./keyword'));
router.get('/likes/:id/:routeParams?', require('./likes'));
router.get('/list/:id/:name/:routeParams?', require('./list'));
router.get('/media/:id/:routeParams?', require('./media'));
router.get('/trends/:woeid?', require('./trends'));
router.get('/tweet/:id/status/:status/:original?', require('./tweet'));
router.get('/user/:id/:routeParams?', require('./user'));
};