Reading List
AttributionSource
Bases: str, Enum
Enumeration of attribution sources for reading lists.
Values:
CBRO: Comic Book Reading Orders
CMRO: Complete Marvel Reading Orders
CBH: Comic Book Herald
CBT: Comic Book Treasury
MG: Marvel Guides
HTLC: How To Love Comics
LOCG: League of ComicGeeks
OTHER: Other sources
ListType
Bases: str, Enum
Enumeration of reading list types.
Values:
EVENT: Event
STORY: Story
CHARACTERS: Characters
TEAMS: Teams
MASTER: Master
ReadingListIssue
Bases: BaseModel
A data model representing an issue in a reading list (without image and cover_hash).
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the issue.
TYPE:
|
series |
The series associated with the issue.
TYPE:
|
number |
The number of the issue.
TYPE:
|
cover_date |
The cover date of the issue.
TYPE:
|
store_date |
The store date of the issue.
TYPE:
|
cv_id |
The Comic Vine ID of the issue.
TYPE:
|
gcd_id |
The Grand Comics Database ID of the issue.
TYPE:
|
modified |
The date and time when the issue was last modified.
TYPE:
|
ReadingListItem
Bases: BaseModel
A data model representing an item in a reading list.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the reading list item.
TYPE:
|
issue |
The issue associated with this reading list item.
TYPE:
|
order |
Position of this issue in the reading list.
TYPE:
|
issue_type |
The type of the issue.
TYPE:
|
ReadingListList
Bases: BaseModel
A data model representing a reading list in list view.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the reading list.
TYPE:
|
name |
The name of the reading list.
TYPE:
|
slug |
The slug for the reading list.
TYPE:
|
user |
The user who owns the reading list.
TYPE:
|
list_type |
The type of the reading list.
TYPE:
|
is_private |
Whether this list is private (only visible to the owner).
TYPE:
|
attribution_source |
Source where this reading list information was obtained.
TYPE:
|
average_rating |
The average rating of the reading list.
TYPE:
|
rating_count |
The number of ratings for the reading list.
TYPE:
|
modified |
The date and time when the reading list was last modified.
TYPE:
|
Functions
convert_empty_string_to_none(_cls, v: str | None) -> str | None
classmethod
Convert empty strings to None for attribution_source.
The API may return an empty string when there is no attribution source, but we want to store this as None internally.
| PARAMETER | DESCRIPTION |
|---|---|
v
|
The value to validate
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str | None
|
None if the value is an empty string, otherwise the original value |
ReadingListRead
Bases: BaseModel
A data model representing a reading list in detailed view.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the reading list.
TYPE:
|
user |
The user who owns the reading list.
TYPE:
|
name |
The name of the reading list.
TYPE:
|
slug |
The slug for the reading list.
TYPE:
|
desc |
The description of the reading list.
TYPE:
|
image |
The image for the reading list.
TYPE:
|
list_type |
The type of the reading list.
TYPE:
|
is_private |
Whether this list is private (only visible to the owner).
TYPE:
|
attribution_source |
Source where this reading list information was obtained.
TYPE:
|
attribution_url |
URL of the specific page where this reading list was obtained.
TYPE:
|
average_rating |
The average rating of the reading list.
TYPE:
|
rating_count |
The number of ratings for the reading list.
TYPE:
|
items_url |
URL to the paginated items endpoint.
TYPE:
|
resource_url |
URL of the reading list resource.
TYPE:
|
modified |
The date and time when the reading list was last modified.
TYPE:
|
Functions
convert_empty_string_to_none(_cls, v: str | None) -> str | None
classmethod
Convert empty strings to None for attribution_url.
The API may return an empty string when there is no attribution URL, but we want to store this as None internally.
| PARAMETER | DESCRIPTION |
|---|---|
v
|
The value to validate
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str | None
|
None if the value is an empty string, otherwise the original value |