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

Hi,

I play with the discover feature in the api, and have two questions about it :

  • When you sort by popularity desc, is this popularity index global, or calculated on the last x period of time (said, last week) ? Because the first result I get is Big bang theory, which clearly isn't the most popular tv show by now. Can you set up a parameter for that ?
  • Is it possible to cross discover result with similars movies or tv, to get results who can match, let's say, an user tastes ?

Thanks,

Adam

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

Jump to last post

Hi Adam,

When you sort by popularity desc, is this popularity index global, or calculated on the last x period of time (said, last week) ? Because the first result I get is Big bang theory, which clearly isn't the most popular tv show by now. Can you set up a parameter for that ?

Popularity is just a trending score that is calculated daily. So I suppose to answer your question, it's a global property calculated from the day the item was created. There is no means to constrain it to the most popular items within a time period.

Having said that, the /trending API methods just went live. This brings a new dimension to sorting items that will be getting added to discover (it's not yet.) I'll see about working on that next week. In the mean time, depending on your use case, you could use the trending API. Docs are going up shortly, but they are the following:

Daily Trending

https://api.themoviedb.org/3/trending/movie/day?api_key=###
https://api.themoviedb.org/3/trending/tv/day?api_key=###
https://api.themoviedb.org/3/trending/person/day?api_key=###
https://api.themoviedb.org/3/trending/all/day?api_key=###

Weekly Trending

https://api.themoviedb.org/3/trending/movie/week?api_key=###
https://api.themoviedb.org/3/trending/tv/week?api_key=###
https://api.themoviedb.org/3/trending/person/week?api_key=###
https://api.themoviedb.org/3/trending/all/weekly?api_key=###

I just started collecting the data here so they might be a little light for the next few days.

Is it possible to cross discover result with similars movies or tv, to get results who can match, let's say, an user tastes ?

No, nothing like this is possible right now. The only thing close would be to use our account sessions in v4 which allows you to pull an account's recommendation data. This data is based on the items you have rated and marked as a favourite on TMDb.

I see ! Thanks for your detailled answer, I'll play with the trending endpoint then ;)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ρυθμίσεις

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

Σύνδεση