Q: Efficient way to gather issue list for a character

Avatar image for flipsidenz
flipsidenz

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By flipsidenz

What's the most efficient way to gather a list of issues a character has appeared in?

The character API call has a issue_credits object to return but it takes a loooong time to return the call for characters with a big history.

Just wondering if there's an alternative approach to something like:

http://www.comicvine.com/api/character/4005-1440/?api_key=<key>&field_list=issue_credits

Avatar image for jslack
jslack

143

Forum Posts

29824

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#2 jslack  Moderator

@flipsidenz: You should limit the results you need on the big queries and then cache the values somewhere.

Avatar image for flipsidenz
flipsidenz

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hi @jslack

Thanks for replying back in April. I had thought about limiting the results - but limit doesn't apply here...

"character" API call is designed to return a single character reference. Within this reference, an optional list of issue_credits is accessible, but not filterable. issue_credits returns a list of all issues the character has appeared in.

Is there another way I can access this issue list for a single character? I would have thought "issues" would work but you can't search by character appearance...

Thoughts??