Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add msn news #17968

Merged
merged 4 commits into from
Dec 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add parameter description
  • Loading branch information
KTachibanaM committed Dec 25, 2024
commit 8fd34d723c815198dca05e79c288f95d6bbe1d74
5 changes: 5 additions & 0 deletions lib/routes/msn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const apiKey = '0QfOX3Vn51YCzitbLaRkTTBadtWpgTN8NZLW0C1SEM';

export const route: Route = {
path: '/:market/:name/:id',
KTachibanaM marked this conversation as resolved.
Show resolved Hide resolved
parameters: {
market: 'Market code. Find it in MSN url, e.g. zh-tw',
name: 'Name of the channel. Find it in MSN url, e.g. Bloomberg',
id: 'ID of the channel (always starts with sr-vid). Find it in MSN url, e.g. sr-vid-08gw7ky4u229xjsjvnf4n6n7v67gxm0pjmv9fr4y2x9jjmwcri4s',
},
categories: ['traditional-media'],
example: '/zh-tw/Bloomberg/sr-vid-08gw7ky4u229xjsjvnf4n6n7v67gxm0pjmv9fr4y2x9jjmwcri4s',
description: `MSN News`,
Expand Down
Loading