Skip to content

Publisher

Publisher

Bases: BaseResource

A data model representing a publisher that extends BaseResource.

ATTRIBUTE DESCRIPTION
founded

The year the publisher was founded.

TYPE: int

country

str: An ISO 3166-1 2-letter country code.

TYPE: Annotated[str, ensure_country_code_length]

desc

The description of the publisher.

TYPE: str

image

The image URL of the publisher.

TYPE: HttpUrl

cv_id

The Comic Vine ID of the publisher.

TYPE: int

gcd_id

The Grand Comics Database ID of the publisher.

TYPE: int

resource_url

The URL of the publisher resource.

TYPE: HttpUrl

PublisherPost

Bases: BaseModel

A data model representing a publisher to be created.

ATTRIBUTE DESCRIPTION
name

The name of the publisher.

TYPE: str

founded

The year the publisher was founded.

TYPE: int

country

str: An ISO 3166-1 2-letter country code. Defaults to 'US'.

TYPE: Annotated[str, ensure_country_code_length]

desc

The description of the publisher.

TYPE: str

image

The image URL of the publisher.

TYPE: str

cv_id

The Comic Vine ID of the publisher.

TYPE: int

gcd_id

The Grand Comics Database ID of the publisher.

TYPE: int