키보드 단축키
고급 검색
Hi,
how to do what i wrote in the subject?
Hi esses77,
To search by name: http://docs.themoviedb.apiary.io/#get-%2F3%2Fsearch%2Fperson
To get an ID once you have the ID: http://docs.themoviedb.apiary.io/#people
Hi Travis,
for example if I want all movies of X actor in 1 response is it possible?
I know I can get different pages for Tom Hanks like this:
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=1
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=2
...
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=5
But is it possible only to get only 1 response with full filmography?
Sure:
https://api.themoviedb.org/3/person/31?api_key=###&append_to_response=credits
Make sure to consult the documentation for all of the available person methods.
Cheers.
Hi again,
thanks for the help Travis but as you might notice in the first links I posted the films are sorted by release_date, is there anyway I can use the link you posted but with films sorted by release_date?
Hi Cuervo,
No, if you need filtering and sorting, you'll have to stick with discover and make a separate request for each page.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
로그인
회원가입
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
가입하고 커뮤니티에 참여하세요
Travis Bell님의 댓글
7월 23, 2013 at 8:41 오후
Hi esses77,
To search by name: http://docs.themoviedb.apiary.io/#get-%2F3%2Fsearch%2Fperson
To get an ID once you have the ID: http://docs.themoviedb.apiary.io/#people
tmdb25252197님의 댓글
8월 3, 2015 at 2:54 오후
Hi Travis,
for example if I want all movies of X actor in 1 response is it possible?
I know I can get different pages for Tom Hanks like this:
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=1
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=2
...
http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=5
But is it possible only to get only 1 response with full filmography?
Travis Bell님의 댓글
8월 3, 2015 at 3:01 오후
Sure:
Make sure to consult the documentation for all of the available person methods.
Cheers.
tmdb25252197님의 댓글
8월 3, 2015 at 3:49 오후
Hi again,
thanks for the help Travis but as you might notice in the first links I posted the films are sorted by release_date, is there anyway I can use the link you posted but with films sorted by release_date?
Travis Bell님의 댓글
8월 3, 2015 at 4:16 오후
Hi Cuervo,
No, if you need filtering and sorting, you'll have to stick with discover and make a separate request for each page.