Amagi API 文档 - v6.1.2
    正在准备搜索索引...

    接口 KuaishouMethodOptionsMap

    快手 API 方法参数映射

    interface KuaishouMethodOptionsMap {
        VideoInfoParams: { methodType: "videoWork"; photoId: string };
        CommentParams: { methodType: "comments"; photoId: string };
        UserProfileParams: { methodType: "userProfile"; principalId: string };
        UserWorkListParams: {
            methodType: "userWorkList";
            principalId: string;
            pcursor?: string;
            count?: number;
        };
        LiveRoomInfoParams: { methodType: "liveRoomInfo"; principalId: string };
        EmojiListParams: { methodType: "emojiList" };
    }
    索引

    属性

    VideoInfoParams: { methodType: "videoWork"; photoId: string }

    类型声明

    • methodType: "videoWork"
    • photoId: string

      作品ID

    CommentParams: { methodType: "comments"; photoId: string }

    类型声明

    • methodType: "comments"
    • photoId: string

      作品ID

    UserProfileParams: { methodType: "userProfile"; principalId: string }

    类型声明

    • methodType: "userProfile"
    • principalId: string

      用户主页 principalId,可直接取 profile 页 URL 末段

    UserWorkListParams: {
        methodType: "userWorkList";
        principalId: string;
        pcursor?: string;
        count?: number;
    }

    类型声明

    • methodType: "userWorkList"
    • principalId: string

      用户主页 principalId,可直接取 profile 页 URL 末段

    • 可选pcursor?: string

      分页游标;为空时请求首屏作品列表

    • 可选count?: number

      每页数量,默认 12

    LiveRoomInfoParams: { methodType: "liveRoomInfo"; principalId: string }

    类型声明

    • methodType: "liveRoomInfo"
    • principalId: string

      直播间 principalId,可直接取 /u/{principalId} URL 末段

    EmojiListParams: { methodType: "emojiList" }