Hello I am trying to pull all actors/actresses from DB. Do all the ID numbers between 1 - latest return valid people?
while (i < 100000) { NSString *num = [NSString stringWithFormat:@"%i", i];
NSString *personURL = [@"https://api.themoviedb.org/3/person/" stringByAppendingString:num];
personURL = [personURL stringByAppendingString:@"?api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXX&append_to_response=images"];
I am getting some return values that say invalid ID.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
Travis Bell님의 댓글
7월 30, 2014 at 9:26 오후
Hi jrichardson,
Yes, there will be many ids that aren't present (deleted duplicates or just invalid people). Any invalid ids will return a 404 status and can be skipped.
Joey Richardson님의 댓글
7월 31, 2014 at 12:47 오전
How many valid people are there then? I was getting a consistent amount of 671 two days ago now I am getting 808.