<<

PyMarvel Documentation Release 0.1.0

Garrett Pennington

September 03, 2015

Contents

1 API 3 1.1 Marvel API to PyMarvel...... 3

2 Marvel Module 7

3 Core Module 11

4 Character Module 17

5 Comic Module 19

6 Creator Module 21

7 Story Module 23

8 Series Module 25

9 Event Module 27

10 Documentation 29

11 Installation 31

12 Basic Usage 33

13 Response Anatomy 35

14 Related Resources 37

15 Pagination 39

16 Contributing 41

17 Licensing 43

Python Module Index 45

i ii PyMarvel Documentation, Release 0.1.0

Python wrapper for the Marvel API

Contents 1 PyMarvel Documentation, Release 0.1.0

2 Contents CHAPTER 1

API

Python wrapper for the Marvel API

1.1 Marvel API to PyMarvel

get /v1/public/characters Fetches lists of characters. Marvel.get_characters() get /v1/public/characters/{characterId} Fetches a single character by id. Marvel.get_character() get /v1/public/characters/{characterId}/comics Fetches lists of comics filtered by a character id. Character.get_comics() get /v1/public/characters/{characterId}/events Fetches lists of events filtered by a character id. Character.get_events() get /v1/public/characters/{characterId}/series Fetches lists of series filtered by a character id. Character.get_series() get /v1/public/characters/{characterId}/stories Fetches lists of stories filtered by a character id. Character.get_stories() get /v1/public/comics Fetches lists of comics. X Marvel.get_comics() get /v1/public/comics/{comicId} Fetches a single comic by id. X Marvel.get_comic() get /v1/public/comics/{comicId}/characters Fetches lists of characters filtered by a comic id. Comic.get_characters() get /v1/public/comics/{comicId}/creators Fetches lists of creators filtered by a comic id. Comic.get_creators() get /v1/public/comics/{comicId}/events Fetches lists of events filtered by a comic id. Comic.get_events()

3 PyMarvel Documentation, Release 0.1.0

get /v1/public/comics/{comicId}/stories Fetches lists of stories filtered by a comic id. Comic.get_stories() get /v1/public/creators Fetches lists of creators. Marvel.get_creators() get /v1/public/creators/{creatorId} Fetches a single creator by id. Marvel.get_creator() get /v1/public/creators/{creatorId}/comics Fetches lists of comics filtered by a creator id. Creator.get_comics() get /v1/public/creators/{creatorId}/events Fetches lists of events filtered by a creator id. Creator.get_events() get /v1/public/creators/{creatorId}/series Fetches lists of series filtered by a creator id. Creator.get_series() get /v1/public/creators/{creatorId}/stories Fetches lists of stories filtered by a creator id. Creator.get_stories() get /v1/public/events Fetches lists of events. Marvel.get_events() get /v1/public/events/{eventId} Fetches a single event by id. Marvel.get_event() get /v1/public/events/{eventId}/characters Fetches lists of characters filtered by an event id. Event.get_characters() get /v1/public/events/{eventId}/comics Fetches lists of comics filtered by an event id. Event.get_comics() get /v1/public/events/{eventId}/creators Fetches lists of creators filtered by an event id. Event.get_creators() get /v1/public/events/{eventId}/series Fetches lists of series filtered by an event id. Event.get_series() get /v1/public/events/{eventId}/stories Fetches lists of stories filtered by an event id. Event.get_stories() get /v1/public/series Fetches lists of series. Marvel.get_series() get /v1/public/series/{seriesId} Fetches a single comic series by id. Marvel.get_series() get /v1/public/series/{seriesId}/characters Fetches lists of characters filtered by a series id. Series.get_characters() get /v1/public/series/{seriesId}/comics Fetches lists of comics filtered by a series id. Series.get_comics()

4 Chapter 1. API PyMarvel Documentation, Release 0.1.0

get /v1/public/series/{seriesId}/creators Fetches lists of creators filtered by a series id. Series.get_creators() get /v1/public/series/{seriesId}/events Fetches lists of events filtered by a series id. Series.get_events() get /v1/public/series/{seriesId}/stories Fetches lists of stories filtered by a series id. Series.get_stories() get /v1/public/stories Fetches lists of stories. Marvel.get_stories() get /v1/public/stories/{storyId} Fetches a single comic story by id. Marvel.get_story() get /v1/public/stories/{storyId}/characters Fetches lists of characters filtered by a story id. Story.get_characters() get /v1/public/stories/{storyId}/comics Fetches lists of comics filtered by a story id. Story.get_comics() get /v1/public/stories/{storyId}/creators Fetches lists of creators filtered by a story id. Story.get_creators() get /v1/public/stories/{storyId}/events Fetches lists of events filtered by a story id. Story.get_events() • genindex • modindex • search

1.1. Marvel API to PyMarvel 5 PyMarvel Documentation, Release 0.1.0

6 Chapter 1. API CHAPTER 2

Marvel Module

class marvel.marvel.Marvel(public_key, private_key) Marvel API class This class provides methods to interface with the Marvel API >>> = Marvel("acb123....","efg456...")

get_character(id) Fetches a single character by id. get /v1/public/characters Parameters id – ID of Character Returns CharacterDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_character(1009718) >>> print cdw.data.count 1 >>> print cdw.data.results[0].name

get_characters(*args, **kwargs) Fetches lists of comic characters with optional filters. get /v1/public/characters/{characterId} Returns CharacterDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_characters(orderBy="name,-modified", limit="5", offset="15") >>> print cdw.data.count 1401 >>> for result in cdw.data.results: ... print result.name Aginar Air-Walker (Gabriel Lan) Ajak Ajaxis Akemi

get_comic(id) Fetches a single comic by id. get /v1/public/comics/{comicId}

7 PyMarvel Documentation, Release 0.1.0

Parameters id – ID of Comic Returns ComicDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_comic(1009718) >>> print cdw.data.count 1 >>> print cdw.data.result.name Some Comic

get_comics(*args, **kwargs) Fetches list of comics. get /v1/public/comics Returns ComicDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_comics(orderBy="issueNumber,-modified", limit="10", offset="15") >>> print cdw.data.count 10 >>> print cdw.data.results[0].name Some Comic

get_creator(id) Fetches a single creator by id. get /v1/public/creators/{creatorId} Parameters id – ID of Creator Returns CreatorDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_creator(30) >>> print cdw.data.count 1 >>> print cdw.data.result.fullName Stan Lee

get_creators(*args, **kwargs) Fetches lists of creators. get /v1/public/creators Returns CreatorDataWrapper >>> m= Marvel(public_key, private_key) >>> cdw=m.get_creators(lastName="Lee", orderBy="firstName,-modified", limit="5", offset="15") >>> print cdw.data.total 25 >>> print cdw.data.results[0].fullName Alvin Lee

get_event(id) Fetches a single event by id. get /v1/public/event/{eventId} Parameters id – ID of Event Returns EventDataWrapper

8 Chapter 2. Marvel Module PyMarvel Documentation, Release 0.1.0

>>> m= Marvel(public_key, private_key) >>> response=m.get_event(253) >>> print response.data.result.title Infinity Gauntlet get_events(*args, **kwargs) Fetches lists of events. get /v1/public/events Returns EventDataWrapper >>> #Find all the events that involved both Hulk and Wolverine >>> #hulk's id: 1009351 >>> #wolverine's id: 1009718 >>> m= Marvel(public_key, private_key) >>> response=m.get_events(characters="1009351,1009718") >>> print response.data.total 38 >>> events= response.data.results >>> print events[1].title Age of get_series(*args, **kwargs) Fetches lists of events. get /v1/public/events Returns SeriesDataWrapper >>> #Find all the series that involved Wolverine >>> #wolverine's id: 1009718 >>> m= Marvel(public_key, private_key) >>> response=m.get_series(characters="1009718") >>> print response.data.total 435 >>> series= response.data.results >>> print series[0].title 5 Ronin (2010) get_single_series(id) Fetches a single comic series by id. get /v1/public/series/{seriesId} Parameters id – ID of Series Returns SeriesDataWrapper >>> m= Marvel(public_key, private_key) >>> response=m.get_single_series(12429) >>> print response.data.result.title 5 Ronin (2010) get_stories(*args, **kwargs) Fetches lists of stories. get /v1/public/stories Returns StoryDataWrapper

9 PyMarvel Documentation, Release 0.1.0

>>> #Find all the stories that involved both Hulk and Wolverine >>> #hulk's id: 1009351 >>> #wolverine's id: 1009718 >>> m= Marvel(public_key, private_key) >>> response=m.get_stories(characters="1009351,1009718") >>> print response.data.total 4066 >>> stories= response.data.results >>> print stories[1].title Cover #477

get_story(id) Fetches a single story by id. get /v1/public/stories/{storyId} Parameters id – ID of Story Returns StoryDataWrapper >>> m= Marvel(public_key, private_key) >>> response=m.get_story(29) >>> print response.data.result.title Caught in the heart of a nuclear explosion, mild-mannered scientist Bruce Banner finds himself...

10 Chapter 2. Marvel Module CHAPTER 3

Core Module

class marvel.core.DataContainer(marvel, dict) Base DataContainer count The total number of results returned by this call. Returns int get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource limit The requested result limit. Returns int list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). offset The requested offset (number of skipped results) of the call. Returns int resource_url() Returns str – Resource URL

11 PyMarvel Documentation, Release 0.1.0

result Returns the first item in the results list. Useful for methods that should return only one results. Returns marvel.MarvelObject str_to_datetime(_str) Converts ‘2013-11-20T17:40:18-0500’ format to ‘datetime’ object Returns datetime to_dict() Returns dict – Dictionary representation of the Resource total The total number of resources available given the current filter set. Returns int class marvel.core.DataWrapper(marvel, dict, params=None) Base DataWrapper code The HTTP status code of the returned result. Returns int etag A digest value of the content returned by the call. Returns str get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). resource_url() Returns str – Resource URL status A string description of the call status. Returns str

12 Chapter 3. Core Module PyMarvel Documentation, Release 0.1.0

to_dict() Returns dict – Dictionary representation of the Resource class marvel.core.Image(marvel, dict)

extension The file extension for the image. Returns str get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). path The directory path of to the image. Returns str resource_url() Returns str – Resource URL to_dict() Returns dict – Dictionary representation of the Resource class marvel.core.List(marvel, dict) Base List object available The number of total available resources in this list. Will always be greater than or equal to the “returned” value. Returns int collectionURI The path to the full list of resources in this collection. Returns str

13 PyMarvel Documentation, Release 0.1.0

get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). resource_url() Returns str – Resource URL returned The number of resources returned in this collection (up to 20). Returns int to_dict() Returns dict – Dictionary representation of the Resource class marvel.core.MarvelObject(marvel, dict) Base class for all Marvel API classes get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource.

14 Chapter 3. Core Module PyMarvel Documentation, Release 0.1.0

• _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). classmethod resource_url() Returns str – Resource URL to_dict() Returns dict – Dictionary representation of the Resource class marvel.core.Summary(marvel, dict) Base Summary object get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). name The canonical name of the resource. Returns str resourceURI The path to the individual resource. Returns str resource_url() Returns str – Resource URL to_dict() Returns dict – Dictionary representation of the Resource class marvel.core.TextObject(marvel, dict)

get_related_resource(_self, _Class, _ClassDataWrapper, *args, **kwargs) Takes a related resource Class and returns the related resource DataWrapper. For Example: Given a Character instance, return a ComicsDataWrapper related to that character. /character/{characterId}/comics

15 PyMarvel Documentation, Release 0.1.0

Parameters • _Class (core.MarvelObject) – The Resource class retrieve • _ClassDataWrapper – The Resource response object • kwargs (dict) – dict of query params for the API Returns DataWrapper – DataWrapper for requested Resource language The IETF language tag denoting the language the text object is written in. Returns str list_to_instance_list(_self, _list, _Class) Takes a list of resource dicts and returns a list of resource instances, defined by the _Class param. Parameters • _self (core.MarvelObject) – Original resource calling the method • _list (list) – List of dicts describing a Resource. • _Class (core.MarvelObject) – The Resource class to create a list of (Comic, Creator, etc). Returns list – List of Resource instances (Comic, Creator, etc). resource_url() Returns str – Resource URL text The text. Returns str to_dict() Returns dict – Dictionary representation of the Resource type The canonical type of the text object (e.g. solicit text, preview text, etc.). Returns str

16 Chapter 3. Core Module CHAPTER 4

Character Module

Coming Soon

17 PyMarvel Documentation, Release 0.1.0

18 Chapter 4. Character Module CHAPTER 5

Comic Module

Coming Soon

19 PyMarvel Documentation, Release 0.1.0

20 Chapter 5. Comic Module CHAPTER 6

Creator Module

Coming Soon

21 PyMarvel Documentation, Release 0.1.0

22 Chapter 6. Creator Module CHAPTER 7

Story Module

Coming Soon

23 PyMarvel Documentation, Release 0.1.0

24 Chapter 7. Story Module CHAPTER 8

Series Module

Coming Soon

25 PyMarvel Documentation, Release 0.1.0

26 Chapter 8. Series Module CHAPTER 9

Event Module

Coming Soon

27 PyMarvel Documentation, Release 0.1.0

28 Chapter 9. Event Module CHAPTER 10

Documentation

Read the full documentation.

29 PyMarvel Documentation, Release 0.1.0

30 Chapter 10. Documentation CHAPTER 11

Installation

Use pip: pip install PyMarvel or: easy_install PyMarvel

Python Package Index.

31 PyMarvel Documentation, Release 0.1.0

32 Chapter 11. Installation CHAPTER 12

Basic Usage

Create a Marvel instance using your public and private api keys: >>> from marvel.marvel import Marvel >>> m= Marvel(public_key, private_key) >>> character_data_wrapper=m.get_characters(orderBy="name,-modified", limit="5", offset="15") >>> print character_data_wrapper.status Ok >>> print character_data_wrapper.data.total 1402 >>> for character in character_data_wrapper.data.results >>> print character.name Aginar Air-Walker (Gabriel Lan) Ajak Ajaxis Akemi

33 PyMarvel Documentation, Release 0.1.0

34 Chapter 12. Basic Usage CHAPTER 13

Response Anatomy

Requesting a resource returns a DataWrapper, which containers information about the the success of response. The data property of a DataWrapper is a DataContainer, which contains information about the set of resources returned. The results property of a DataContainer is a List of Resources (Character, Comic, Event, etc).

Note: The results property returns a List, even if only one item is returned. You can use result property to retrieve the first (or only) item in the list. This is useful for methods like get_comic(some_comic_id) where only only Comic is expected. result is equivalent to results[0].

>>> m= Marvel(public_key, private_key) >>> character_data_wrapper=m.get_characters(limit="10", offset="700") >>> print(character_data_wrapper) >>> print(character_data_wrapper.data) >>> print(character_data_wrapper.data.results[0])

The json response maps like this: { __ "code": 200, | "status": "Ok", |---- CharacterDataWrapper "etag": "e59a70a964ab45cc40948dcd3fb7faa0783bcae7", | "data": __| { __ \/ "offset": 700, | "limit": 10, | "total": 1402, |---- CharacterDataContainer "count": 10, | "results": [ __| { __ \/ "id": 1017477, | "name": " (X-Men: Battle of the Atom)", |---- Character "description": "", | "modified": "2014-01-15T19:43:09-0500", __| ...

35 PyMarvel Documentation, Release 0.1.0

36 Chapter 13. Response Anatomy CHAPTER 14

Related Resources

Find Stan Lee’s comics: >>> stan_lee=m.get_creator(30).data.result >>> comics= stan_lee.get_comics()

You can chain methods into one line: >>> comics=m.get_creator(30).data.result.get_comics() or even: >>> events= self.m.get_series(characters="1009718").data.result.get_characters().data.result.get_comics().data.results.get_creators().data.result.get_events() would be the equivalent to calling: http://gateway.marvel.com/v1/public/series?characters=100971 http://gateway.marvel.com/v1/public/series/15276/characters http://gateway.marvel.com/v1/public/characters/1009351/comics http://gateway.marvel.com/v1/public/comics/50372/creators http://gateway.marvel.com/v1/public/creators/4600/events

37 PyMarvel Documentation, Release 0.1.0

38 Chapter 14. Related Resources CHAPTER 15

Pagination

>>> xmen=m.get_single_series(403).data.results.get_characters(limit=5) >>> for xm in xmen.data.results: ... print xm.name

Archangel Beast Black Panther

>>> more_xmen= xmen.next() >>> for xm in more_xmen.data.results: ... print xm.name

Cable Cannonball Colossus Cyclops Emma Frost

39 PyMarvel Documentation, Release 0.1.0

40 Chapter 15. Pagination CHAPTER 16

Contributing

Clone the repo at http://github.com/gpennington/PyMarvel. Feel free to log issues in Github or, better yet, submit a Pull Request against the develop branch.

41 PyMarvel Documentation, Release 0.1.0

42 Chapter 16. Contributing CHAPTER 17

Licensing

PyMarvel is distributed under the MIT License.

• genindex • modindex • search

43 PyMarvel Documentation, Release 0.1.0

44 Chapter 17. Licensing Python Module Index

m marvel.core, 11 marvel.marvel,7

45 PyMarvel Documentation, Release 0.1.0

46 Python Module Index Index

A get_story() (marvel.marvel.Marvel method), 10 available (marvel.core.List attribute), 13 I C Image (class in marvel.core), 13 code (marvel.core.DataWrapper attribute), 12 collectionURI (marvel.core.List attribute), 13 L count (marvel.core.DataContainer attribute), 11 language (marvel.core.TextObject attribute), 16 limit (marvel.core.DataContainer attribute), 11 D List (class in marvel.core), 13 DataContainer (class in marvel.core), 11 list_to_instance_list() (marvel.core.DataContainer DataWrapper (class in marvel.core), 12 method), 11 list_to_instance_list() (marvel.core.DataWrapper E method), 12 list_to_instance_list() (marvel.core.Image method), 13 etag (marvel.core.DataWrapper attribute), 12 list_to_instance_list() (marvel.core.List method), 14 extension (marvel.core.Image attribute), 13 list_to_instance_list() (marvel.core.MarvelObject G method), 14 list_to_instance_list() (marvel.core.Summary method), get_character() (marvel.marvel.Marvel method),7 15 get_characters() (marvel.marvel.Marvel method),7 list_to_instance_list() (marvel.core.TextObject method), get_comic() (marvel.marvel.Marvel method),7 16 get_comics() (marvel.marvel.Marvel method),8 get_creator() (marvel.marvel.Marvel method),8 M get_creators() (marvel.marvel.Marvel method),8 Marvel (class in marvel.marvel),7 get_event() (marvel.marvel.Marvel method),8 marvel.core (module), 11 get_events() (marvel.marvel.Marvel method),9 marvel.marvel (module),7 get_related_resource() (marvel.core.DataContainer MarvelObject (class in marvel.core), 14 method), 11 get_related_resource() (marvel.core.DataWrapper N method), 12 name (marvel.core.Summary attribute), 15 get_related_resource() (marvel.core.Image method), 13 get_related_resource() (marvel.core.List method), 13 get_related_resource() (marvel.core.MarvelObject O method), 14 offset (marvel.core.DataContainer attribute), 11 get_related_resource() (marvel.core.Summary method), 15 P get_related_resource() (marvel.core.TextObject method), path (marvel.core.Image attribute), 13 15 get_series() (marvel.marvel.Marvel method),9 R get_single_series() (marvel.marvel.Marvel method),9 resource_url() (marvel.core.DataContainer method), 11 get_stories() (marvel.marvel.Marvel method),9 resource_url() (marvel.core.DataWrapper method), 12

47 PyMarvel Documentation, Release 0.1.0 resource_url() (marvel.core.Image method), 13 resource_url() (marvel.core.List method), 14 resource_url() (marvel.core.MarvelObject class method), 15 resource_url() (marvel.core.Summary method), 15 resource_url() (marvel.core.TextObject method), 16 resourceURI (marvel.core.Summary attribute), 15 result (marvel.core.DataContainer attribute), 11 returned (marvel.core.List attribute), 14 S status (marvel.core.DataWrapper attribute), 12 str_to_datetime() (marvel.core.DataContainer method), 12 Summary (class in marvel.core), 15 T text (marvel.core.TextObject attribute), 16 TextObject (class in marvel.core), 15 to_dict() (marvel.core.DataContainer method), 12 to_dict() (marvel.core.DataWrapper method), 12 to_dict() (marvel.core.Image method), 13 to_dict() (marvel.core.List method), 14 to_dict() (marvel.core.MarvelObject method), 15 to_dict() (marvel.core.Summary method), 15 to_dict() (marvel.core.TextObject method), 16 total (marvel.core.DataContainer attribute), 12 type (marvel.core.TextObject attribute), 16

48 Index