@book000/pixivts - v0.61.1
    Preparing search index...

    Interface IllustRecommendedParams

    Parameters for fetching recommended illusts.

    interface IllustRecommendedParams {
        contentType?: "illust" | "manga";
        filter?: "for_ios" | "for_android";
        includeRankingLabel?: boolean;
        maxBookmarkIdForRecommend?: number;
        minBookmarkIdForRecentIllust?: number;
        offset?: number;
        viewed?: number[];
    }
    Index

    Properties

    contentType?: "illust" | "manga"

    Content type filter for recommended works.

    • "illust" — illustration works only
    • "manga" — manga works only Omit to receive both types.
    filter?: "for_ios" | "for_android"

    OS filter to apply (default: "for_ios").

    includeRankingLabel?: boolean

    Whether to include ranking label information in the response. Defaults to true when omitted.

    maxBookmarkIdForRecommend?: number

    Cursor for resuming pagination: the maxBookmarkIdForRecommend value extracted from a previous page's next_url via parseNextUrl.

    minBookmarkIdForRecentIllust?: number

    Secondary cursor for resuming pagination: the minBookmarkIdForRecentIllust value extracted from a previous page's next_url via parseNextUrl.

    offset?: number

    Zero-based offset for pagination.

    viewed?: number[]

    IDs of illusts already seen by the user. The API will exclude these from the recommendations. Serialised as repeated viewed[]=<id> query parameters.