struct Engine::Crawler

Overview

Generates card summary

Defined in:

engine.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(game_format : String, scry_id : String, foil_status : String, quantity : String) #

[View source]

Instance Method Detail

def card_bulk : JSON::Any #

Returns card bulk data.


[View source]
def card_json : Nil #

Sets card attributes and filters bulk data.


[View source]
def card_name : String #

Returns card name.


[View source]
def foil_status : String #

[View source]
def foils : Colorize::Object(Symbol) #

Sets foil status.


[View source]
def game_format : String #

[View source]
def legalities : Colorize::Object(Symbol) #

Sets legality status.


[View source]
def legality : String #

Returns card legality status.


[View source]
def quantity : String #

[View source]
def rarities : Colorize::Object(Symbol) #

Sets rarity status.


[View source]
def scry_id : String #

[View source]
def set_code : String #

Returns card set code.


[View source]
def set_name : String #

Returns card set name.


[View source]
def summary : Nil #

Prints card summary


[View source]