The Movie Database atbalsts

I am trying to sort the list of popular movies by using &sort_by=popularity.asc but the data coming from the api does not change. Here is the whole url :- https://api.themoviedb.org/3/movie/popular?api_key=API_KEY&page=1&sort_by=popularity.asc

3 replies (on page 1 of 1)

Jump to last post

Hi @RoronoaHemesh, the popular endpoint doesn't support the "sort_by" option, it is sorted by popularity.desc by default. That is the whole purpose of the endpoint.

So, can you please tell me what can I do for sorting? I have a page where the popular movies are rendered and displayed, and I want to implement the sorting method like the one on the website.

If you read the doc for the popular endpoint previously referenced, there is a note at the top that explains how it is really a discover call, you can use discover to make changes to sorting and other options.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties