HomeFeedParams
HomeFeedParams: {
methodType: "homeFeed";
cursor_score?: string;
num?: number;
refresh_type?: number;
note_index?: number;
category?: string;
search_key?: string;
}
类型声明
methodType: "homeFeed"
可选cursor_score?: string
可选num?: number
可选refresh_type?: number
可选note_index?: number
可选category?: string
可选search_key?: string
NoteParams
NoteParams: { methodType: "noteDetail"; note_id: string; xsec_token: string }
类型声明
methodType: "noteDetail"
note_id: string
xsec_token: string
CommentParams: {
methodType: "noteComments";
note_id: string;
cursor?: string;
xsec_token: string;
}
类型声明
methodType: "noteComments"
note_id: string
可选cursor?: string
xsec_token: string
UserParams
UserParams: { methodType: "userProfile"; user_id: string }
类型声明
methodType: "userProfile"
user_id: string
UserNoteParams
UserNoteParams: {
methodType: "userNoteList";
user_id: string;
cursor?: string;
num?: number;
}
类型声明
methodType: "userNoteList"
user_id: string
可选cursor?: string
可选num?: number
EmojiListParams
EmojiListParams: { methodType: "emojiList" }
SearchNoteParams
SearchNoteParams: {
methodType: "searchNotes";
keyword: string;
page?: number;
page_size?: number;
sort?: SearchSortType;
note_type?: SearchNoteType;
}
类型声明
methodType: "searchNotes"
keyword: string
可选page?: number
可选page_size?: number
可选sort?: SearchSortType
可选note_type?: SearchNoteType
小红书 API 方法参数映射