Parts
Table of Contents
Classes
- Card
- One face of one printing of a Magic: The Gathering card — MTGJSON's Card
(Set) model, plus the Card (Deck) fields when it comes from a deck.
- Deck
- A preconstructed deck — MTGJSON's Deck model, or a Deck List entry (no
cards) when it comes from {@see \MTG\Repository\DeckRepository::getDecks()}.
- ForeignData
- One entry from a {@see Card}'s `foreignData` — the card as printed in
another language. Not available for all sets.
- Identifiers
- A {@see Card}'s `identifiers` — its ids on other services. Every value is
a string, as in MTGJSON.
- LeadershipSkills
- A {@see Card}'s `leadershipSkills` — the formats it can be your
commander in.
- Legality
- One entry of a {@see Card}'s `legalities` — its status in one format.
- PurchaseUrls
- A {@see Card}'s `purchaseUrls` — links to buy it, through MTGJSON's
referral redirects.
- Ruling
- One entry from a {@see Card}'s `rulings` — an official clarification,
with the date it was issued.
- Set
- A Magic: The Gathering set — MTGJSON's Set model, without the card, token,
deck, booster and sealed product lists (search cards by `setCode`, and
open boosters with {@see \MTG\Repository\SetRepository::generateBooster()}).