MediaTrendVariables is an interface representing the variables for the MediaTrendQuery. It includes optional parameters for querying media trend data.

interface MediaTrendVariables {
    asHtml?: boolean;
    averageScore?: number;
    averageScore_greater?: number;
    averageScore_lesser?: number;
    averageScore_not?: number;
    date?: number;
    date_greater?: number;
    date_lesser?: number;
    episode?: number;
    episode_greater?: number;
    episode_lesser?: number;
    episode_not?: number;
    mediaId?: number;
    mediaId_in?: number[];
    mediaId_not?: number;
    mediaId_not_in?: number[];
    popularity?: number;
    popularity_greater?: number;
    popularity_lesser?: number;
    popularity_not?: number;
    releasing?: boolean;
    sort?: MediaTrendSort[];
    trending?: number;
    trending_greater?: number;
    trending_lesser?: number;
    trending_not?: number;
}

Properties

asHtml?: boolean

asHtml is a boolean indicating whether to return the result as HTML.

averageScore?: number

averageScore is a number representing the average score of the media.

averageScore_greater?: number

averageScore_greater is a number representing the average score greater than the media.

averageScore_lesser?: number

averageScore_lesser is a number representing the average score lesser than the media.

averageScore_not?: number

averageScore_not is a number representing the average score not included in the media.

date?: number

date is a number representing the date of the media trend.

date_greater?: number

date_greater is a number representing the date greater than the media trend.

date_lesser?: number

date_lesser is a number representing the date lesser than the media trend.

episode?: number

episode is a number representing the episode of the media.

episode_greater?: number

episode_greater is a number representing the episode number greater than the media.

episode_lesser?: number

episode_lesser is a number representing the episode number lesser than the media.

episode_not?: number

episode_not is a number representing the episode number not included in the media.

mediaId?: number

mediaId is a number representing the id of the media.

mediaId_in?: number[]

mediaId_in is an array of numbers representing the ids of the media included.

mediaId_not?: number

mediaId_not is a number representing the id of the media not included.

mediaId_not_in?: number[]

mediaId_not_in is an array of numbers representing the ids of the media not included.

popularity?: number

popularity is a number representing the popularity of the media.

popularity_greater?: number

popularity_greater is a number representing the popularity greater than the media.

popularity_lesser?: number

popularity_lesser is a number representing the popularity lesser than the media.

popularity_not?: number

popularity_not is a number representing the popularity not included in the media.

releasing?: boolean

releasing is a boolean indicating whether the media is releasing.

sort is an array of strings representing the sort order of the media.

trending?: number

trending is a number representing the trending status of the media.

trending_greater?: number

trending_greater is a number representing the trending status greater than the media.

trending_lesser?: number

trending_lesser is a number representing the trending status lesser than the media.

trending_not?: number

trending_not is a number representing the trending status not included in the media.