TMDB podrška

I am stuck to get result with discover parameters i am using https://api.themoviedb.org/3/discover/movie?api_key=XXX&language=en-US&sort_by=popularity.asc&page=1&with_keywords=sequel,war but found no results each time anyone help me.

2 odgovora (na stranici 1 od 1)

Jump to last post

Hi @waqas117

with_keywords is expecting a list of keywords ids, not the actual keywords themselves.

For the case of the two keywords, sequel and war, they are 9663 and 6091 respectively. So, the query you're looking for is:

https://api.themoviedb.org/3/discover/movie?api_key=XXX&language=en-US&sort_by=popularity.asc&page=1&with_keywords=9663,6091

Keep in mind, that's an 'AND' query, you could do with_keywords=9663|6091 if you're looking for a 'OR' query.

Cheers.

Thanks Travis its boom :)

Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.

Global

s focus the search bar
p otvorite izbornik profila
esc zatvori otvoreni prozor
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(desna strelica) idi na sljedeću sezonu
(left arrow) go to previous season

On TV episode pages

(desna strelica) idi na sljedeću epizodu
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a otvori aktivnost
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(desna strelica) sljedeća stranica
(left arrow) previous page

Postavke

Want to rate or add this item to a list?

Prijavi se