struct Scryfall::Card

Included Modules

Defined in:

scryfall/models/card.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def all_parts : Array(Scryfall::RelatedCard) #

Gameplay Fields


[View source]
def arena_id : Int32 | Nil #

[View source]
def artist : String | Nil #

Print Fields


[View source]
def booster? : Bool #

[View source]
def border_color : String #

[View source]
def card_back_id : UUID | Nil #

[View source]
def card_faces : Array(Scryfall::CardFace) #

[View source]
def cardmarket_id : Int32 | Nil #

[View source]
def cmc : Float32 | Nil #

[View source]
def collector_number : String #

[View source]
def color_identity : Array(String) #

[View source]
def color_indicator : Array(String) #

[View source]
def colors : Array(String) #

[View source]
def content_warning? : Bool #

[View source]
def digital? : Bool #

[View source]
def edhrec_rank : Int32 | Nil #

[View source]
def finishes : Array(String) #

getter? foil : Bool getter? nonfoil : Bool


[View source]
def flavor_name : String | Nil #

[View source]
def flavor_text : String | Nil #

[View source]
def frame : String #

[View source]
def frame_effects : Array(String) #

[View source]
def full_art? : Bool #

[View source]
def games : Array(String) #

[View source]
def hand_modifier : String | Nil #

[View source]
def highres_image? : Bool #

[View source]
def id : UUID #

[View source]
def illustration_id : UUID | Nil #

[View source]
def image_status : String #

[View source]
def image_uris : Hash(String, URI) #

[View source]
def keywords : Array(String) #

[View source]
def lang : String #

[View source]
def layout : String #

[View source]
def legalities : Hash(String, String) #

[View source]
def life_modifier : String | Nil #

[View source]
def loyalty : String | Nil #

[View source]
def mana_cost : String | Nil #

[View source]
def mtgo_foil_id : Int32 | Nil #

[View source]
def mtgo_id : Int32 | Nil #

[View source]
def multiverse_ids : Array(Int32) | Nil #

[View source]
def name : String #

[View source]
def object : String #

[View source]
def oracle_id : UUID | Nil #

[View source]
def oracle_text : String | Nil #

[View source]
def oversized? : Bool #

[View source]
def power : String | Nil #

[View source]
def preview : Hash(String, String) #

[View source]
def prices : Hash(String, String | Nil) #

[View source]
def printed_name : String | Nil #

[View source]
def printed_text : String | Nil #

[View source]
def printed_type_line : String | Nil #

[View source]
def prints_search_uri : URI #

[View source]
def produced_mana : Array(String) #

[View source]
def promo? : Bool #

[View source]
def promo_types : Array(String) #

[View source]
def purchase_uris : Hash(String, String) #

[View source]
def rarity : String #

[View source]
def related_uris : Hash(String, String) #

[View source]
def released_at : String #

[View source]
def reprint? : Bool #

[View source]
def reserved? : Bool #

[View source]
def rulings_uri : URI #

[View source]
def scryfall_set_uri : URI #

[View source]
def scryfall_uri : URI #

[View source]
def set : String #

[View source]
def set_id : UUID #

[View source]
def set_name : String #

[View source]
def set_search_uri : URI #

[View source]
def set_type : String #

[View source]
def set_uri : URI #

[View source]
def story_spotlight? : Bool #

[View source]
def tcgplayer_id : Int32 | Nil #

[View source]
def textless? : Bool #

[View source]
def toughness : String | Nil #

[View source]
def type_line : String #

[View source]
def uri : URI #

[View source]
def uuid #

[View source]
def variation? : Bool #

[View source]
def variation_of : UUID | Nil #

[View source]
def watermark : String | Nil #

[View source]