I want to use the search function as docs descriped, this my command :
curl --include --header "Accept:application/json" "http://private-89fd5-themoviedb.apiary.io/3/search/list?qurey=Fight&api_key=###"
but, error occur, and the response is below:
{"status_code":6,"status_message":"Invalid id - The pre-requisite id is invalid or not found"}
And i changed the host url to http://themoviedb.apiary.io, as below:
curl --include --header "Accept:application/json" "http://themoviedb.apiary.io/3/search/list?qurey=Fight&api_key=###"
the below is responsed: Private API, please log in
why? and how use the search api rightly?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 29 март 2013 в 12:26 PM
It does indeed look like there is an issue with searching lists:
Is not currently working. I've created a new ticket for this.
With regards to searching movies and people, that seems to be working fine.
Thanks.
Отговор от rjvandoesburg
на 29 март 2013 в 3:27 PM
@olimsoft you also wrote "query" wrong: "?qurey=Fight&api_key=###" In case you were still having problems ;)
Отговор от olimsoft
на 1 април 2013 в 11:25 PM
thanks, I correct the "qurey" to " query" ( I'm so careless.),
and as Travis Bell said, http://api.themoviedb.org/3/search/list?api_key=###&query=fight can't work also.
searching movie and person work fine.