Issue Detail Workflow

Topic started by zengei on Feb. 6, 2009. Last post by Red Ronin 1 week, 6 days ago.
Post by zengei (9 posts) See mini bio

Loading...
So I'm trying to come up with a good workflow for fetching the details of an issue given a <volume title>, <issue number>, and (optionally) , <year of issue>.

My first instinct is to do a query on the search resource with the resources parameter set to "issue" to filter by issues and the query string being "<volume title> <issue number>", however it appears no issues are ever returned by a query on the search resource. Is this an issue to be fixed?

Alternatively I would do:

1. Query on the search resource, filtered by volume, with the query string being <volume title>
2. If <year of issue> is provided, filter out volumes that have a start year after <year of issue>, I would also like to filter out volumes whose count_of_issues is less than the <issue number>, but that's not currently provided in the search results of a volume.
3. If the number of volumes after filtering is >1 then present info to the user so they can select the right one.
4. I would now have a volume ID, so I could query the volume resource for that specific ID
5. The volume resource would provide a list of issues, but selecting the right one would be a problem. The issue numbers are not provided in the response so I would have to iterate through the issues, getting their details until I found one with issue number = <issue number>. If the volume is say... Fantastic Four, in the worse case that would mean 563 GETs to find the correct issue.

So it would probably be best to provide the issue number in the issue list in the volume resource. Although it would be great if doing a search for "<volume title> <issue number> <year of issue>" and filtering by issue could return the possible issue IDs directly.

EDIT: Even better if I could do explicit filtering on the issues resource :)


Post by Lord Sedrik (64 posts) See mini bio

Loading...
I'll add a volume filter on the issue resource for ya in the next day or so.  Sorry for the delay, just trying to wrap another project up first.


Post by zengei (9 posts) See mini bio

Loading...
Lord Sedrik said:
"I'll add a volume filter on the issue resource for ya in the next day or so.  Sorry for the delay, just trying to wrap another project up first."
Excellent, thanks.


Post by Hardartist (500 posts) See mini bio

Loading...
Lord Sedrik said:
"I'll add a volume filter on the issue resource for ya in the next day or so.  Sorry for the delay, just trying to wrap another project up first."

He is right that i am confused with evrything about API Davelopers.


Post by LordAndrew (64 posts) See mini bio

Loading...
Are you developing an application that makes use of Comic Vine's API? If not, then you really don't need to worry about it.


Post by Darksbane (4 posts) See mini bio

Loading...
@Lord Sedrik said:
" I'll add a volume filter on the issue resource for ya in the next day or so.  Sorry for the delay, just trying to wrap another project up first. "
Did this ever happen?


Post by zengei (9 posts) See mini bio

Loading...
Any word on this?


Post by macmanja (1 posts) See mini bio

Loading...
Bump


Post by comicvine12345 (2 posts) See mini bio

Loading...
I'd certainly like to see this - searching for an issue seems fundamental to a comic book database.


Post by Red Ronin (178 posts) See mini bio

Loading...

Online Now

@comicvine12345 said:
" I'd certainly like to see this - searching for an issue seems fundamental to a comic book database. "
As would I!