Υποστήριξη για το The Movie Database

Hello. Is there any way to get user rating for movie when doing /movie/{movie_id} request? If app has a validated session id, of course. Also, would be great to get user rating for movies/shows with all common request like /movie/popular.

I'm trying to implement a display of user rating of movie/show in all pages of app, like Popular/Search/Discover/Etc. But for now i didn't find the best way to realize it, rather than fetch rated list in background with /account/{account_id}/rated/movies(tv) request, keep that data in app DB and than connect it with other requests results by TMDb id.

This method requires a lot of extra requests, it does not always show up to date information and requires regular sync with account rated list. So the question is, if there any best way to implement it? Thanks. (Sorry for my poor English)

3 απαντήσεις(στη σελίδα 1 από 1)

Jump to last post

Hi Ivan,

You bet, the method you're looking for is the account states method.

Cheers.

Thanks for reply, account states method is perfect for movie details page. But what about requests, that returns 20 movies as result, like Get Popular movies? Is there any way to get user rating for all 20 results in same request?

There is no such method right now but I can definitely add one. I use a similar system on the website here, you can see after a page load I toggle the account states of the visible items.

I've created a new ticket for this here. I'll bump this thread when it is complete.

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση