Crate mtgjson

Source
Expand description

The MTGJSON API provides a repository of card information for Magic. This library provides types for models from the API, for use in apps that need card information.

Structs§

AllPrintings
Every printing of every card, grouped by set.
AtomicCard
Represents a unique card, not specific to any one printing.
AtomicCards
Every unique card, grouped by name.
Booster
Represents the booster packs for a given set.
BoosterConfig
Booster pack configuration.
BoosterInfo
Information about a booster.
BoosterSheet
Sheets of cards to use within booster packs.
ForeignData
Describes a list of properties for various Card Data Models in alternate languages.
Identifiers
Describes a list of identifiers associated to a Card.
LeadershipSkills
Describes a list of formats that a Card is legal to be your Commander in play formats that utilize Commanders.
Legalities
Describes a list of legalities in play formats for a Card.
Meta
Describes MTGJSON metadata.
NamedBoosterInfo
Information about an alternative booster.
PurchaseUrls
Describes URL paths to purchase a product from a marketplace.
RelatedCards
Related card information.
Ruling
Describes a list of rulings for a Card.
SealedProduct
Describes a list of properties for a purchase-able product of a Set.
Set
Describes the properties and values of an individual Set.
SetCard
Represents a card printed in a set.
TokenCard
Represents a token.

Enums§

Availability
The availability of a card.
BoosterType
The type of a booster.
BorderColor
The border color of a card.
Color
The color of a card.
DuelDeck
The duel deck of a card.
Finish
The finish of a card.
FrameEffect
The frame effect of a card.
FrameVersion
The version of the frame of a card.
Language
Languages that cards are printed in and translated to.
Layout
The layout of a card.
PromoType
The type of promo for a card.
Rarity
The rarity of a card.
SecurityStamp
The security stamp of a card.
Side
The side of a card.