Skip to content

How can I request all the episode ratings for a show / season without having to do per-episode API calls? #489

Answered by tysonkerridge
safardani asked this question in Q&A
Discussion options

You must be logged in to vote

Does seasons with full episode info do what you're after?

eg. GET https://apiz.trakt.tv/shows/westworld/seasons?extended=episodes,full

[
  {
    "number": 0,
    "ids": {
      "trakt": 139320,
      ...
    },
    ...
    "rating": 8.19118,
    "votes": 68,
    ...
    "episodes": [
      {
        "season": 0,
        "number": 1,
        ...
        "ids": {
          "trakt": 2489406,
          ...
        },
        ...
        "rating": 7.84043,
        "votes": 94,
        ...
      },
      {
        "season": 0,
        "number": 2,
        ...
        "ids": {
          "trakt": 2976011,
          ...
        },
        ...
        "rating": 8.19444,
        "votes": 36,
       …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@safardani
Comment options

Answer selected by safardani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants