marvel_api 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.document +1 -1
  3. data/.rspec +2 -1
  4. data/.travis.yml +8 -0
  5. data/Gemfile +11 -4
  6. data/Guardfile +5 -0
  7. data/LICENSE.txt +1 -1
  8. data/README.md +16 -4
  9. data/Rakefile +11 -8
  10. data/lib/marvel/client.rb +6 -14
  11. data/lib/marvel/connection.rb +10 -2
  12. data/lib/marvel/error.rb +16 -0
  13. data/lib/marvel/request.rb +22 -8
  14. data/lib/marvel/response.rb +21 -0
  15. data/lib/marvel/version.rb +14 -0
  16. data/marvel_api.gemspec +75 -18
  17. data/spec/fixtures/characters/character.json +341 -0
  18. data/spec/fixtures/characters/character_comics.json +4975 -0
  19. data/spec/fixtures/characters/character_events.json +1666 -0
  20. data/spec/fixtures/characters/character_series.json +6117 -0
  21. data/spec/fixtures/characters/character_stories.json +1873 -0
  22. data/spec/fixtures/characters/characters.json +3006 -0
  23. data/spec/fixtures/comics/comic.json +359 -0
  24. data/spec/fixtures/comics/comic_characters.json +4649 -0
  25. data/spec/fixtures/comics/comic_creators.json +4387 -0
  26. data/spec/fixtures/comics/comic_events.json +522 -0
  27. data/spec/fixtures/comics/comic_stories.json +1985 -0
  28. data/spec/fixtures/comics/comics.json +2246 -0
  29. data/spec/fixtures/creators/creator.json +340 -0
  30. data/spec/fixtures/creators/creator_comics.json +2856 -0
  31. data/spec/fixtures/creators/creator_events.json +1899 -0
  32. data/spec/fixtures/creators/creator_series.json +4686 -0
  33. data/spec/fixtures/creators/creator_stories.json +1491 -0
  34. data/spec/fixtures/creators/creators.json +1376 -0
  35. data/spec/fixtures/errors/empty_parameter.json +4 -0
  36. data/spec/fixtures/errors/excessive_filter_values.json +4 -0
  37. data/spec/fixtures/errors/invalid_credentials.json +4 -0
  38. data/spec/fixtures/errors/invalid_filter_value.json +4 -0
  39. data/spec/fixtures/errors/invalid_hash_ts_key_combo.json +4 -0
  40. data/spec/fixtures/errors/invalid_ordering.json +4 -0
  41. data/spec/fixtures/errors/invalid_parameter.json +4 -0
  42. data/spec/fixtures/errors/limit_invalid.json +4 -0
  43. data/spec/fixtures/errors/limit_over_100.json +4 -0
  44. data/spec/fixtures/errors/resource_not_found.json +4 -0
  45. data/spec/fixtures/events/event.json +522 -0
  46. data/spec/fixtures/events/event_characters.json +6397 -0
  47. data/spec/fixtures/events/event_comics.json +4718 -0
  48. data/spec/fixtures/events/event_creators.json +5869 -0
  49. data/spec/fixtures/events/event_series.json +2243 -0
  50. data/spec/fixtures/events/event_stories.json +4846 -0
  51. data/spec/fixtures/events/events.json +8613 -0
  52. data/spec/fixtures/series/serie.json +448 -0
  53. data/spec/fixtures/series/series.json +3464 -0
  54. data/spec/fixtures/series/series_characters.json +6029 -0
  55. data/spec/fixtures/series/series_comics.json +2935 -0
  56. data/spec/fixtures/series/series_creators.json +5923 -0
  57. data/spec/fixtures/series/series_events.json +944 -0
  58. data/spec/fixtures/series/series_stories.json +1544 -0
  59. data/spec/fixtures/stories/stories.json +1282 -0
  60. data/spec/fixtures/stories/story.json +117 -0
  61. data/spec/fixtures/stories/story_characters.json +794 -0
  62. data/spec/fixtures/stories/story_comics.json +522 -0
  63. data/spec/fixtures/stories/story_creators.json +1672 -0
  64. data/spec/fixtures/stories/story_events.json +522 -0
  65. data/spec/fixtures/stories/story_series.json +695 -0
  66. data/spec/marvel_api/client/client_character_spec.rb +142 -0
  67. data/spec/marvel_api/client/client_comic_spec.rb +141 -0
  68. data/spec/marvel_api/client/client_creator_spec.rb +139 -0
  69. data/spec/marvel_api/client/client_event_spec.rb +163 -0
  70. data/spec/marvel_api/client/client_series_spec.rb +165 -0
  71. data/spec/marvel_api/client/client_story_spec.rb +162 -0
  72. data/spec/marvel_api/error_spec.rb +192 -0
  73. data/spec/marvel_api_spec.rb +15 -3
  74. data/spec/spec_helper.rb +55 -4
  75. metadata +83 -27
  76. data/VERSION +0 -1
  77. data/spec/marvel_api/client_spec.rb +0 -7
@@ -0,0 +1,522 @@
1
+ {
2
+ "code": 200,
3
+ "status": "Ok",
4
+ "copyright": "© 2014 MARVEL",
5
+ "attributionText": "Data provided by Marvel. © 2014 MARVEL",
6
+ "attributionHTML": "<a href=\"http://marvel.com\">Data provided by Marvel. © 2014 MARVEL</a>",
7
+ "etag": "ef4d507b83ca34b4ed6978517d24660ddb94a9c7",
8
+ "data": {
9
+ "offset": 0,
10
+ "limit": 20,
11
+ "total": 2,
12
+ "count": 2,
13
+ "results": [
14
+ {
15
+ "id": 3512,
16
+ "digitalId": 0,
17
+ "title": "House of M: World of M (Trade Paperback)",
18
+ "issueNumber": 0,
19
+ "variantDescription": "",
20
+ "description": "Explore the people and places of the World of M! In BLACK PANTHER, a United Africa – ruled over by Storm and T’Challa – has become an economic powerhouse and a thorn in Magneto’s side. When Storm speaks out about the persistence of supremacist notions in the mutant-controlled world, a furious Magneto is determined to stop her at any cost. In CAPTAIN AMERICA, see Steve Rogers move from the ’40s to the present day – bearing witness to a changing landscape, and watching as man becomes the minority and mutant the ruler. In NEW THUNDERBOLTS, only Private Genis-Vell, a member of the Titan/Kree Exploratory Council, can see that something is desperately wrong with reality. Why does he keep having visions of people who wanted to hurt him? Is the only way to keep his mind from coming apart require him to destroy an entire world? In CABLE/DEADPOOL, Deadpool, Cannonball and Siryn desperately search for the missing Cable. After scouring several alternate worlds and various alternate Cables, where they find the one TRUE Cable will come as a very, VERY big shock! And in THE PULSE, HOUSE OF M mastermind Brian Michael Bendis peels a shocking layer off the mystery of the Marvel Universe that no AVENGERS fan (old or new) dare miss! Collects BLACK PANTHER #7, CAPTAIN AMERICA #10, NEW THUNDERBOLTS #11, THE PULSE #10, CABLE/DEADPOOL #17, HOUSE OF M SKETCHBOOK and THE PULSE SPECIAL EDITION.\r\n184 PGS./RATED T …$23.99\r\nISBN: 0-7851-1922-1",
21
+ "modified": "2013-07-11T14:44:44-0400",
22
+ "isbn": "0-7851-1922-1",
23
+ "upc": "5960611922-00111",
24
+ "diamondCode": "",
25
+ "ean": "",
26
+ "issn": "",
27
+ "format": "Trade Paperback",
28
+ "pageCount": 0,
29
+ "textObjects": [
30
+ {
31
+ "type": "issue_solicit_text",
32
+ "language": "en-us",
33
+ "text": "Explore the people and places of the World of M! In BLACK PANTHER, a United Africa – ruled over by Storm and T’Challa – has become an economic powerhouse and a thorn in Magneto’s side. When Storm speaks out about the persistence of supremacist notions in the mutant-controlled world, a furious Magneto is determined to stop her at any cost. In CAPTAIN AMERICA, see Steve Rogers move from the ’40s to the present day – bearing witness to a changing landscape, and watching as man becomes the minority and mutant the ruler. In NEW THUNDERBOLTS, only Private Genis-Vell, a member of the Titan/Kree Exploratory Council, can see that something is desperately wrong with reality. Why does he keep having visions of people who wanted to hurt him? Is the only way to keep his mind from coming apart require him to destroy an entire world? In CABLE/DEADPOOL, Deadpool, Cannonball and Siryn desperately search for the missing Cable. After scouring several alternate worlds and various alternate Cables, where they find the one TRUE Cable will come as a very, VERY big shock! And in THE PULSE, HOUSE OF M mastermind Brian Michael Bendis peels a shocking layer off the mystery of the Marvel Universe that no AVENGERS fan (old or new) dare miss! Collects BLACK PANTHER #7, CAPTAIN AMERICA #10, NEW THUNDERBOLTS #11, THE PULSE #10, CABLE/DEADPOOL #17, HOUSE OF M SKETCHBOOK and THE PULSE SPECIAL EDITION.\r\n184 PGS./RATED T …$23.99\r\nISBN: 0-7851-1922-1"
34
+ }
35
+ ],
36
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/3512",
37
+ "urls": [
38
+ {
39
+ "type": "detail",
40
+ "url": "http://marvel.com/comics/collection/3512/house_of_m_world_of_m_trade_paperback?utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
41
+ },
42
+ {
43
+ "type": "purchase",
44
+ "url": "http://comicstore.marvel.com/House-of-M-World-of-M-0/digital-comic/29079?utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
45
+ }
46
+ ],
47
+ "series": {
48
+ "resourceURI": "http://gateway.marvel.com/v1/public/series/1614",
49
+ "name": "House of M: World of M (2006)"
50
+ },
51
+ "variants": [
52
+
53
+ ],
54
+ "collections": [
55
+
56
+ ],
57
+ "collectedIssues": [
58
+ {
59
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2522",
60
+ "name": "Wolverine (2003) #35"
61
+ },
62
+ {
63
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2521",
64
+ "name": "Wolverine (2003) #34"
65
+ },
66
+ {
67
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2520",
68
+ "name": "Wolverine (2003) #33"
69
+ },
70
+ {
71
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2420",
72
+ "name": "Captain America (2004) #10"
73
+ },
74
+ {
75
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2323",
76
+ "name": "Black Panther (2005) #7"
77
+ },
78
+ {
79
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2335",
80
+ "name": "New Thunderbolts (2004) #11"
81
+ },
82
+ {
83
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2157",
84
+ "name": "The Pulse (2004) #10"
85
+ },
86
+ {
87
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2213",
88
+ "name": "Cable & Deadpool (2004) #17"
89
+ }
90
+ ],
91
+ "dates": [
92
+ {
93
+ "type": "onsaleDate",
94
+ "date": "2006-02-22T00:00:00-0500"
95
+ },
96
+ {
97
+ "type": "focDate",
98
+ "date": "1961-01-01T00:00:00-0500"
99
+ }
100
+ ],
101
+ "prices": [
102
+ {
103
+ "type": "printPrice",
104
+ "price": 9.99
105
+ }
106
+ ],
107
+ "thumbnail": {
108
+ "path": "http://i.annihil.us/u/prod/marvel/i/mg/2/40/51defcfa4bc38",
109
+ "extension": "jpg"
110
+ },
111
+ "images": [
112
+ {
113
+ "path": "http://i.annihil.us/u/prod/marvel/i/mg/2/40/51defcfa4bc38",
114
+ "extension": "jpg"
115
+ }
116
+ ],
117
+ "creators": {
118
+ "available": 25,
119
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/3512/creators",
120
+ "items": [
121
+ {
122
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/24",
123
+ "name": "Brian Michael Bendis",
124
+ "role": "writer"
125
+ },
126
+ {
127
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/367",
128
+ "name": "Ed Brubaker",
129
+ "role": "writer"
130
+ },
131
+ {
132
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/521",
133
+ "name": "Reginald Hudlin",
134
+ "role": "writer"
135
+ },
136
+ {
137
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/6001",
138
+ "name": "Fabian Nicieza",
139
+ "role": "writer"
140
+ },
141
+ {
142
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/424",
143
+ "name": "Udon Comics",
144
+ "role": "inker"
145
+ },
146
+ {
147
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/359",
148
+ "name": "John Dell",
149
+ "role": "inker"
150
+ },
151
+ {
152
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/889",
153
+ "name": "Jesse Delperdang",
154
+ "role": "inker"
155
+ },
156
+ {
157
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/762",
158
+ "name": "Gary Erskine",
159
+ "role": "inker"
160
+ },
161
+ {
162
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/8504",
163
+ "name": "Frank D'Armata",
164
+ "role": "colorist"
165
+ },
166
+ {
167
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/457",
168
+ "name": "Gotham Entertainment Group",
169
+ "role": "colorist"
170
+ },
171
+ {
172
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/479",
173
+ "name": "Paul Mounts",
174
+ "role": "colorist"
175
+ },
176
+ {
177
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/652",
178
+ "name": "Peter Pantazis",
179
+ "role": "colorist"
180
+ },
181
+ {
182
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/500",
183
+ "name": "Chris Sotomayor",
184
+ "role": "colorist"
185
+ },
186
+ {
187
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/8635",
188
+ "name": "Randy Gentile",
189
+ "role": "letterer"
190
+ },
191
+ {
192
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/361",
193
+ "name": "Cory Petit",
194
+ "role": "letterer"
195
+ },
196
+ {
197
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/350",
198
+ "name": "Richard Starkings",
199
+ "role": "letterer"
200
+ },
201
+ {
202
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/483",
203
+ "name": "Tom Grummett",
204
+ "role": "penciller"
205
+ },
206
+ {
207
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/347",
208
+ "name": "Trevor Hairsine",
209
+ "role": "penciller"
210
+ },
211
+ {
212
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/509",
213
+ "name": "Michael Lark",
214
+ "role": "penciller"
215
+ },
216
+ {
217
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/641",
218
+ "name": "Javier Saltares",
219
+ "role": "penciller"
220
+ }
221
+ ],
222
+ "returned": 20
223
+ },
224
+ "characters": {
225
+ "available": 11,
226
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/3512/characters",
227
+ "items": [
228
+ {
229
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009170",
230
+ "name": "Baron Zemo (Heinrich Zemo)"
231
+ },
232
+ {
233
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009187",
234
+ "name": "Black Panther"
235
+ },
236
+ {
237
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009220",
238
+ "name": "Captain America"
239
+ },
240
+ {
241
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1010914",
242
+ "name": "Captain America (House of M)"
243
+ },
244
+ {
245
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009268",
246
+ "name": "Deadpool"
247
+ },
248
+ {
249
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009356",
250
+ "name": "Human Torch"
251
+ },
252
+ {
253
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009368",
254
+ "name": "Iron Man"
255
+ },
256
+ {
257
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1010945",
258
+ "name": "Magneto (House of M)"
259
+ },
260
+ {
261
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1010791",
262
+ "name": "Sub-Mariner"
263
+ },
264
+ {
265
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1011309",
266
+ "name": "Toro (Thomas Raymond)"
267
+ },
268
+ {
269
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009718",
270
+ "name": "Wolverine"
271
+ }
272
+ ],
273
+ "returned": 11
274
+ },
275
+ "stories": {
276
+ "available": 9,
277
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/3512/stories",
278
+ "items": [
279
+ {
280
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2209",
281
+ "name": "1 of 3 - House of M",
282
+ "type": "interiorStory"
283
+ },
284
+ {
285
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2211",
286
+ "name": "2 of 3 - House of M",
287
+ "type": "interiorStory"
288
+ },
289
+ {
290
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2213",
291
+ "name": "3 of 3 - House of M",
292
+ "type": "interiorStory"
293
+ },
294
+ {
295
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2352",
296
+ "name": "1 of 1 - House of M Tie-In",
297
+ "type": "interiorStory"
298
+ },
299
+ {
300
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2494",
301
+ "name": "3 of 4 - Enema of the State",
302
+ "type": "interiorStory"
303
+ },
304
+ {
305
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/3825",
306
+ "name": "1 of 1- House of M",
307
+ "type": "interiorStory"
308
+ },
309
+ {
310
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/3889",
311
+ "name": "5 of 6 - Reflections",
312
+ "type": "interiorStory"
313
+ },
314
+ {
315
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/4246",
316
+ "name": "House of M tie-in",
317
+ "type": "interiorStory"
318
+ },
319
+ {
320
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/65954",
321
+ "name": "HOUSE OF M: WORLD OF M 0 cover",
322
+ "type": "cover"
323
+ }
324
+ ],
325
+ "returned": 9
326
+ },
327
+ "events": {
328
+ "available": 1,
329
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/3512/events",
330
+ "items": [
331
+ {
332
+ "resourceURI": "http://gateway.marvel.com/v1/public/events/251",
333
+ "name": "House of M"
334
+ }
335
+ ],
336
+ "returned": 1
337
+ }
338
+ },
339
+ {
340
+ "id": 2520,
341
+ "digitalId": 2782,
342
+ "title": "Wolverine (2003) #33",
343
+ "issueNumber": 33,
344
+ "variantDescription": "",
345
+ "description": "HOUSE OF M tie-in! He's one of the most crucial players in the House of M world, and for a good reason: Wolverine carries burdens too great for even the most powerful mutants to bear. Has it caused him to finally snap? All the details you need to know about Wolverine's mysterious past and his place in the House of M can be found right here! ",
346
+ "modified": "2013-07-01T14:56:53-0400",
347
+ "isbn": "",
348
+ "upc": "5960605458-03311",
349
+ "diamondCode": "",
350
+ "ean": "",
351
+ "issn": "",
352
+ "format": "Comic",
353
+ "pageCount": 0,
354
+ "textObjects": [
355
+ {
356
+ "type": "issue_preview_text",
357
+ "language": "en-us",
358
+ "text": "HOUSE OF M tie-in! He's one of the most crucial players in the House of M world, and for a good reason: Wolverine carries burdens too great for even the most powerful mutants to bear. Has it caused him to finally snap? All the details you need to know about Wolverine's mysterious past and his place in the House of M can be found right here! "
359
+ },
360
+ {
361
+ "type": "issue_solicit_text",
362
+ "language": "en-us",
363
+ "text": "CHASING GHOSTS Part 1 (of 3)\r<br>HOUSE OF M tie-in!\r<br>\r<br>He's one of the most crucial players in the House of M world, and for a good reason: Wolverine carries burdens too great for even the most powerful mutants to bear. Has it caused him to finally snap? All the details you need to know about Wolverine's mysterious past and his place in the House of M can be found right here! A down-and-dirty shocker of a story by Young Gun Daniel Way (WOLVERINE, BULLSEYE: GREATEST HITS) and the acclaimed GHOST RIDER: RESURRECTED team of Javier Saltares and Mark Texeira! \r<br> \r<br>32 PGS./PARENTAL ADVISORY …$2.50\r<br>"
364
+ }
365
+ ],
366
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/2520",
367
+ "urls": [
368
+ {
369
+ "type": "detail",
370
+ "url": "http://marvel.com/comics/issue/2520/wolverine_2003_33?utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
371
+ },
372
+ {
373
+ "type": "purchase",
374
+ "url": "http://comicstore.marvel.com/Wolverine-33/digital-comic/2782?utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
375
+ },
376
+ {
377
+ "type": "reader",
378
+ "url": "http://marvel.com/digitalcomics/view.htm?iid=2782&utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
379
+ },
380
+ {
381
+ "type": "inAppLink",
382
+ "url": "http://applink.marvel.com/issue/2782?utm_campaign=apiRef&utm_source=94f945fe8833c9a96e6f761b60562a45"
383
+ }
384
+ ],
385
+ "series": {
386
+ "resourceURI": "http://gateway.marvel.com/v1/public/series/632",
387
+ "name": "Wolverine (2003 - 2009)"
388
+ },
389
+ "variants": [
390
+
391
+ ],
392
+ "collections": [
393
+ {
394
+ "resourceURI": "http://gateway.marvel.com/v1/public/comics/3512",
395
+ "name": "House of M: World of M (Trade Paperback)"
396
+ }
397
+ ],
398
+ "collectedIssues": [
399
+
400
+ ],
401
+ "dates": [
402
+ {
403
+ "type": "onsaleDate",
404
+ "date": "2005-09-28T00:00:00-0400"
405
+ },
406
+ {
407
+ "type": "focDate",
408
+ "date": "1969-12-31T19:00:00-0500"
409
+ },
410
+ {
411
+ "type": "unlimitedDate",
412
+ "date": "2007-11-13T00:00:00-0500"
413
+ },
414
+ {
415
+ "type": "digitalPurchaseDate",
416
+ "date": "2009-12-31T00:00:00-0500"
417
+ }
418
+ ],
419
+ "prices": [
420
+ {
421
+ "type": "printPrice",
422
+ "price": 2.5
423
+ },
424
+ {
425
+ "type": "digitalPurchasePrice",
426
+ "price": 1.99
427
+ }
428
+ ],
429
+ "thumbnail": {
430
+ "path": "http://i.annihil.us/u/prod/marvel/i/mg/8/f0/4d24f6a19cd02",
431
+ "extension": "jpg"
432
+ },
433
+ "images": [
434
+ {
435
+ "path": "http://i.annihil.us/u/prod/marvel/i/mg/c/e0/4bc46e2d9ad98",
436
+ "extension": "jpg"
437
+ }
438
+ ],
439
+ "creators": {
440
+ "available": 6,
441
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/2520/creators",
442
+ "items": [
443
+ {
444
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/8635",
445
+ "name": "Randy Gentile",
446
+ "role": "letterer"
447
+ },
448
+ {
449
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/479",
450
+ "name": "Paul Mounts",
451
+ "role": "colorist"
452
+ },
453
+ {
454
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/3635",
455
+ "name": "Joe Quesada",
456
+ "role": "penciller (cover)"
457
+ },
458
+ {
459
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/641",
460
+ "name": "Javier Saltares",
461
+ "role": "penciller"
462
+ },
463
+ {
464
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/11501",
465
+ "name": "Mark Texeira",
466
+ "role": "inker"
467
+ },
468
+ {
469
+ "resourceURI": "http://gateway.marvel.com/v1/public/creators/344",
470
+ "name": "Daniel Way",
471
+ "role": "writer"
472
+ }
473
+ ],
474
+ "returned": 6
475
+ },
476
+ "characters": {
477
+ "available": 2,
478
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/2520/characters",
479
+ "items": [
480
+ {
481
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009368",
482
+ "name": "Iron Man"
483
+ },
484
+ {
485
+ "resourceURI": "http://gateway.marvel.com/v1/public/characters/1009718",
486
+ "name": "Wolverine"
487
+ }
488
+ ],
489
+ "returned": 2
490
+ },
491
+ "stories": {
492
+ "available": 2,
493
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/2520/stories",
494
+ "items": [
495
+ {
496
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2208",
497
+ "name": "1 of 3 - House of M",
498
+ "type": "cover"
499
+ },
500
+ {
501
+ "resourceURI": "http://gateway.marvel.com/v1/public/stories/2209",
502
+ "name": "1 of 3 - House of M",
503
+ "type": "interiorStory"
504
+ }
505
+ ],
506
+ "returned": 2
507
+ },
508
+ "events": {
509
+ "available": 1,
510
+ "collectionURI": "http://gateway.marvel.com/v1/public/comics/2520/events",
511
+ "items": [
512
+ {
513
+ "resourceURI": "http://gateway.marvel.com/v1/public/events/251",
514
+ "name": "House of M"
515
+ }
516
+ ],
517
+ "returned": 1
518
+ }
519
+ }
520
+ ]
521
+ }
522
+ }