The Movie Database support

Hello, I'm sure this problem is on my end, since I'm new to using this api (and api all in general). Anyway, when I try to search, for example:

http://api.themoviedb.org/3/search/movie?api_key=###&query=rush

Not all of the rush hours show up.

Same for if I try:

http://api.themoviedb.org/3/search/movie?api_key=###&query=shaw

no shawshank redemption shows up. How do I get this to work? Thank you.

4 svar (på side 1 af 1)

Jump to last post

By default, the search doesn't use ngrams. if you're looking for a "autocomplete" type search, use ?search_type=ngram. For more search options, make sure to consult the documentation.

https://api.themoviedb.org/3/search/movie?api_key=###&query=rush&search_type=ngram

Thank you. That seemed to work better for the rush example, but shawshank redemption still doesn't show up. Any idea?

The more you type, the better the results will be.

http://api.themoviedb.org/3/search/movie?api_key=###&query=shaws&search_type=ngram

Returns Shawshank.

You're right. My php code was stupid, and I was starting at i = 1 and not i = 0, so I was skipping it -_-

Thanks. You're a lot of help.

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

På mediesider

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

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

På alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

På diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind