Amagi API 文档 - v5.6.3
    正在准备搜索索引...

    接口 XiaohongshuDataOptionsMap

    interface XiaohongshuDataOptionsMap {
        "首页推荐数据": {
            opt: {
                methodType: "首页推荐数据";
                cursor_score?: string;
                num?: number;
                refresh_type?: number;
                note_index?: number;
                category?: string;
                search_key?: string;
            };
            data: HomeFeed;
        };
        "单个笔记数据": {
            opt: { methodType: "单个笔记数据"; note_id: string; xsec_token: string };
            data: OneNote;
        };
        "评论数据": {
            opt: {
                methodType: "评论数据";
                note_id: string;
                cursor?: string;
                xsec_token: string;
            };
            data: NoteComments;
        };
        "用户数据": {
            opt: { methodType: "用户数据"; user_id: string };
            data: XiaohongshuUserProfile;
        };
        "用户笔记数据": {
            opt: {
                methodType: "用户笔记数据";
                user_id: string;
                cursor?: string;
                num?: number;
            };
            data: any;
        };
        "表情列表": { opt: { methodType: "表情列表" }; data: XiaohongshuEmojiList };
        "搜索笔记": {
            opt: {
                methodType: "搜索笔记";
                keyword: string;
                page?: number;
                page_size?: number;
                sort?: SearchSortType;
                note_type?: SearchNoteType;
            };
            data: SearchNotes;
        };
    }
    索引

    属性

    "首页推荐数据": {
        opt: {
            methodType: "首页推荐数据";
            cursor_score?: string;
            num?: number;
            refresh_type?: number;
            note_index?: number;
            category?: string;
            search_key?: string;
        };
        data: HomeFeed;
    }
    "单个笔记数据": {
        opt: { methodType: "单个笔记数据"; note_id: string; xsec_token: string };
        data: OneNote;
    }
    "评论数据": {
        opt: {
            methodType: "评论数据";
            note_id: string;
            cursor?: string;
            xsec_token: string;
        };
        data: NoteComments;
    }
    "用户数据": {
        opt: { methodType: "用户数据"; user_id: string };
        data: XiaohongshuUserProfile;
    }
    "用户笔记数据": {
        opt: {
            methodType: "用户笔记数据";
            user_id: string;
            cursor?: string;
            num?: number;
        };
        data: any;
    }
    "表情列表": { opt: { methodType: "表情列表" }; data: XiaohongshuEmojiList }
    "搜索笔记": {
        opt: {
            methodType: "搜索笔记";
            keyword: string;
            page?: number;
            page_size?: number;
            sort?: SearchSortType;
            note_type?: SearchNoteType;
        };
        data: SearchNotes;
    }