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

1.6 KiB

Rating

The type of rating, for example 'audience' or 'critic'.

Example Usage

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

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

Fields

Field Type Required Description Example
image string ✔️ The URL for the rating image, for example from IMDb. imdb://image.rating
value number ✔️ N/A 5.1
type string ✔️ N/A audience