Служба підтримки The Movie Database

Hi, I am wondering how get ratings of movies and TV show that user sets while user selects like movie now_playing or shows on air Is there any way to load now_playing or on air list with user ratings

8 відповідей (на сторінці 1 із 1)

Jump to last post

Ho @DattatrayHinge,

When you say user ratings do you mean just the rating of the movie on TMDb? If so, that's returned via the vote_average field.

Thanks Travis, I mean is user ratings in number of stars that user given to movie or show but when user fetch Now Playing movies or On Air Show for APIs, didnt see those user ratings in response

It's the same as I mentioned above, you can find it from the vote_average field:

{
  "page": 1,
  "results": [
    {
      "poster_path": "/tWqifoYuwLETmmasnGHO7xBjEtt.jpg",
      "adult": false,
      "overview": "A live-action adaptation of Disney's version of the classic 'Beauty and the Beast' tale of a cursed prince and a beautiful young woman who helps him break the spell.",
      "release_date": "2017-03-16",
      "genre_ids": [
        14,
        10749
      ],
      "id": 321612,
      "original_title": "Beauty and the Beast",
      "original_language": "en",
      "title": "Beauty and the Beast",
      "backdrop_path": "/6aUWe0GSl69wMTSWWexsorMIvwU.jpg",
      "popularity": 158.103128,
      "vote_count": 1824,
      "video": false,
      "vote_average": 6.9
    }
    ...
  ]
}

Hi Travis Bell

vote_average is average, what I want to see my ratings given to movie or TV show, like one we get from rated/movies. See "rating":10 is individual user rating

 {
      "adult": false,
      "backdrop_path": "/bTFeSwh07oX99ofpDI4O2WkiFJ.jpg",
      "genre_ids": [
        16,
        35,
        10751
      ],
      "id": 295693,
      "original_language": "en",
      "original_title": "The Boss Baby",
      "overview": null,
      "release_date": "2017-03-23",
      "poster_path": "/unPB1iyEeTBcKiLg8W083rlViFH.jpg",
      "popularity": 121.933756,
      "title": "The Boss Baby",
      "video": false,
      "vote_average": 5.7,
      "vote_count": 568,
      "rating": 10
    },

My problem is when user open detail page of Movie or TV Show, I dont have users ratings that he given in previous session. I am not storing this information locally in my APP Or you can suggest way to link rating to movie or TV show details information

Ah, I see, you're looking for the rating pulled from the session user. I have an open ticket to look at implementing something that will support this here. I haven't decided how it will work yet but it's on my radar.

Cheers.

Yes, correct I need rating of session user and also need to know whether user has added this movie/TV show in watchlist or favorite list while pulling detail information of movie/Tv show.

What I think if session user append seesion id while pulling movie/TV show details, server can returns something like in json response - user_list[{"ratings": 9 , "watchlist": true, "favorite :" false}]

Yes, the data will be the same as the account_states method, but more broadly available across list methods.

oh yes, waiting for new implementation ..

Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.

Загальні

s відкрити панель пошуку
p відкрити меню профілю
esc закрити відкрите вікно
? відкрити вікно з гарячими клавішами

На сторінках медіа

b повернутися назад
e перейти до сторінки редагування

На сторінках сезонів шоу

(стрілка вправо) перейти до наступного сезону
(стрілка вліво) перейти до попереднього сезону

На сторінках серій шоу

(стрілка вправо) перейти до наступної серії
(стрілка вліво) перейти до попередньої серії

На всіх сторінках зображень

a відкрити вікно додавання зображення

На всіх сторінках редагування

t відкрити перемикач перекладів
ctrl+ s підтвердити форму

На сторінках обговорення

n створити нове обговорення
w змінити статус стеження
p перемикач публічно/приватно
c перемикач відкрито/закрито
a відкрити активність
r відповісти на обговорення
l перейти до останньої відповіді
ctrl+ enter підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти