mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
1.4 KiB
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 |