Emma #5, added the retail cover, 1st image can be removed
perezmu's forum posts
I just did! The trick proposed did not work... the ids are sequential according to the time the book was added not to the release date or the like. I finally decided to locally cache the pairs (id - issue) so, first time you need a long search, but after that i look up the cached table and it is fast. You can check the script at comicrack site!
That is an idea to explore, but it seems like a longshot! But I will definitely try!
However, I have to stop coding for a week or so, but I will update you as soon as I get back to the project.
I am trying to find a given issue (let's say #33) of a given series (let's say "Thor (1966)".
First I get the series id, no problem: search volumes for "thor" and get the one I want: series.id = 2994.
Now, I need to search for issue #33. This is harder than it seems.
1. The obvious approach would be to get this from a simple query to the volume (api.comicvine.com/volume/2994). But since the query for volume=2994 returns all the issues but providing their name and id, not issue_number, I would need to loop querying through all issues until I find #33... which requires many connections for a single issue!!!!
2. Next, I tried searches over the issue resource and did not get anywhere.
3. Last, I was left with trying to filter, from the huge list of all issues, those belonging to a given volume:
but this did not work either.
So, since I cannot search on issues or filter as shown, I need to resort to way 1, which is the less efficient. Am I missing something or doing something wrong?