Files
plexjs/docs/sdk/models/operations/ratings.md

1.4 KiB

Ratings

Example Usage

import { Ratings } from "@lukehagar/plexjs/sdk/models/operations";

let value: Ratings = {
  image: "imdb://image.rating",
  value: 9,
  type: "audience",
};

Fields

Field Type Required Description Example
image string ✔️ The image or reference for the rating. imdb://image.rating
value number ✔️ The rating value. 9
type string ✔️ The type of rating (e.g., audience, critic). audience