Collection
BookFormat
Bases: str, Enum
Enumeration of book formats.
Values:
PRINT: Physical printed comic book
DIGITAL: Digital/electronic comic book
BOTH: Both print and digital formats
CollectionFormatStat
Bases: BaseModel
A data model representing statistics for a specific book format.
| ATTRIBUTE | DESCRIPTION |
|---|---|
book_format |
Format of the comic (print, digital, or both).
TYPE:
|
count |
Number of items in this format.
TYPE:
|
CollectionIssue
Bases: BaseModel
A data model representing an issue in a collection (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:
|
modified |
The date and time when the issue was last modified.
TYPE:
|
CollectionList
Bases: BaseModel
A data model representing a collection item in list view.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the collection item.
TYPE:
|
user |
The user who owns this collection item.
TYPE:
|
issue |
The issue associated with this collection item.
TYPE:
|
quantity |
Number of copies owned.
TYPE:
|
book_format |
Format of the comic (print, digital, or both).
TYPE:
|
grade |
Comic book grade (CGC scale).
TYPE:
|
grading_company |
Professional grading company.
TYPE:
|
purchase_date |
Date when the issue was purchased.
TYPE:
|
is_read |
Whether the issue has been read.
TYPE:
|
read_dates |
List of read date entries for this issue.
TYPE:
|
read_count |
Number of times this issue has been read.
TYPE:
|
rating |
Star rating (1-5) for this issue.
TYPE:
|
modified |
The date and time when the collection item was last modified.
TYPE:
|
CollectionRead
Bases: BaseModel
A data model representing a collection item in detailed view.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the collection item.
TYPE:
|
user |
The user who owns this collection item.
TYPE:
|
issue |
The issue associated with this collection item.
TYPE:
|
quantity |
Number of copies owned.
TYPE:
|
book_format |
Format of the comic (print, digital, or both).
TYPE:
|
grade |
Comic book grade (CGC scale).
TYPE:
|
grading_company |
Professional grading company.
TYPE:
|
purchase_date |
Date when the issue was purchased.
TYPE:
|
purchase_price |
Price paid for this issue.
TYPE:
|
purchase_store |
Store or vendor where purchased.
TYPE:
|
storage_location |
Physical location where the issue is stored.
TYPE:
|
notes |
Additional notes about this collection item.
TYPE:
|
is_read |
Whether the issue has been read.
TYPE:
|
date_read |
Date and time when the issue was last read.
TYPE:
|
read_dates |
List of read date entries for this issue.
TYPE:
|
read_count |
Number of times this issue has been read.
TYPE:
|
rating |
Star rating (1-5) for this issue.
TYPE:
|
resource_url |
URL of the collection item resource.
TYPE:
|
created_on |
The date and time when the collection item was created.
TYPE:
|
modified |
The date and time when the collection item was last modified.
TYPE:
|
CollectionStats
Bases: BaseModel
A data model representing statistics about a user's collection.
| ATTRIBUTE | DESCRIPTION |
|---|---|
total_items |
Total number of collection items.
TYPE:
|
total_quantity |
Total quantity of all items.
TYPE:
|
total_value |
Total value of the collection.
TYPE:
|
read_count |
Number of items that have been read.
TYPE:
|
unread_count |
Number of items that have not been read.
TYPE:
|
by_format |
Statistics broken down by book format.
TYPE:
|
Grade
Bases: float, Enum
Enumeration of comic book grades using the CGC scale.
Values:
GEM_MINT: 10.0 (Gem Mint)
MINT: 9.9 (Mint)
NM_M: 9.8 (NM/M - Near Mint/Mint)
NM_PLUS: 9.6 (NM+ - Near Mint+)
NM: 9.4 (NM - Near Mint)
NM_MINUS: 9.2 (NM- - Near Mint-)
VF_NM: 9.0 (VF/NM - Very Fine/Near Mint)
VF_PLUS: 8.5 (VF+ - Very Fine+)
VF: 8.0 (VF - Very Fine)
VF_MINUS: 7.5 (VF- - Very Fine-)
FN_VF: 7.0 (FN/VF - Fine/Very Fine)
FN_PLUS: 6.5 (FN+ - Fine+)
FN: 6.0 (FN - Fine)
FN_MINUS: 5.5 (FN- - Fine-)
VG_FN: 5.0 (VG/FN - Very Good/Fine)
VG_PLUS: 4.5 (VG+ - Very Good+)
VG: 4.0 (VG - Very Good)
VG_MINUS: 3.5 (VG- - Very Good-)
GD_VG: 3.0 (GD/VG - Good/Very Good)
GD_PLUS: 2.5 (GD+ - Good+)
GD: 2.0 (GD - Good)
GD_MINUS: 1.8 (GD- - Good-)
FR_GD: 1.5 (FR/GD - Fair/Good)
FR: 1.0 (FR - Fair)
PR: 0.5 (PR - Poor)
GradingCompany
Bases: str, Enum
Enumeration of professional grading companies.
Values:
CGC: CGC (Certified Guaranty Company)
CBCS: CBCS (Comic Book Certification Service)
PGX: PGX (Professional Grading Experts)
MissingIssue
Bases: BaseModel
A data model representing a missing issue in a series.
| 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:
|
MissingSeries
Bases: BaseModel
A data model representing a series with missing issues.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the series.
TYPE:
|
name |
The name of the series.
TYPE:
|
sort_name |
The sort name of the series.
TYPE:
|
year_began |
The year the series began.
TYPE:
|
year_end |
The year the series ended.
TYPE:
|
publisher |
The publisher of the series.
TYPE:
|
series_type |
The type of the series.
TYPE:
|
total_issues |
Total number of issues in the series.
TYPE:
|
owned_issues |
Number of issues owned in the collection.
TYPE:
|
missing_count |
Number of issues missing from the collection.
TYPE:
|
completion_percentage |
Percentage of the series that is owned.
TYPE:
|
Rating
Bases: int, Enum
Enumeration of star ratings (1-5) for issues.
Values:
ONE: 1 star
TWO: 2 stars
THREE: 3 stars
FOUR: 4 stars
FIVE: 5 stars
ScrobbleRequest
Bases: BaseModel
A data model representing a request to mark an issue as read.
This is used to "scrobble" an issue, marking it as read and optionally providing a rating. If the issue is not in the collection, it will be automatically added.
| ATTRIBUTE | DESCRIPTION |
|---|---|
issue_id |
The unique identifier of the issue to mark as read.
TYPE:
|
date_read |
Date and time when the issue was read. If not provided, the current date/time will be used.
TYPE:
|
rating |
Star rating (1-5) for this issue.
TYPE:
|
ScrobbleResponse
Bases: BaseModel
A data model representing the response from a scrobble operation.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The unique identifier of the collection item.
TYPE:
|
issue |
The issue that was scrobbled.
TYPE:
|
is_read |
Whether the issue has been read (always True after scrobbling).
TYPE:
|
date_read |
Date and time when the issue was read.
TYPE:
|
rating |
Star rating (1-5) for this issue.
TYPE:
|
created |
Whether a new collection item was created (True) or an existing one was updated (False).
TYPE:
|
modified |
The date and time when the collection item was last modified.
TYPE:
|