Removed some naming conflicts and made imports work properly.
This commit is contained in:
parent
42db37c69e
commit
344fb53262
|
@ -0,0 +1,7 @@
|
||||||
|
from scrython.cards import Autocomplete
|
||||||
|
from scrython.cards import Collector
|
||||||
|
from scrython.cards import Id
|
||||||
|
from scrython.cards import Mtgo
|
||||||
|
from scrython.cards import Multiverse
|
||||||
|
from scrython.cards import Named
|
||||||
|
from scrython.cards import RandomCard
|
|
@ -0,0 +1,7 @@
|
||||||
|
from .autocomplete import Autocomplete
|
||||||
|
from .collector import Collector
|
||||||
|
from .cardid import Id
|
||||||
|
from .mtgo import Mtgo
|
||||||
|
from .multiverse import Multiverse
|
||||||
|
from .named import Named
|
||||||
|
from .randomcard import RandomCard
|
|
@ -27,13 +27,13 @@ class Named(object):
|
||||||
scryfall_uri: str The full Scryfall page of the card.
|
scryfall_uri: str The full Scryfall page of the card.
|
||||||
layout: str The image layout of the card. (normal, transform, etc)
|
layout: str The image layout of the card. (normal, transform, etc)
|
||||||
highres_image: bool Returns True if the card has a high res image.
|
highres_image: bool Returns True if the card has a high res image.
|
||||||
card.image_uris: dict All image uris of the card in various qualities.
|
card_image_uris: dict All image uris of the card in various qualities.
|
||||||
cmc: float A float of the converted mana cost of the card.
|
cmc: float A float of the converted mana cost of the card.
|
||||||
type_line: str The full type line of the card.
|
type_line: str The full type line of the card.
|
||||||
oracle_text: str The official oracle text of a card.
|
oracle_text: str The official oracle text of a card.
|
||||||
mana_cost: str The full mana cost using shorthanded mana symbols.
|
mana_cost: str The full mana cost using shorthanded mana symbols.
|
||||||
colors: arr An array of strings with all colors found in the mana cost.
|
colors: arr An array of strings with all colors found in the mana cost.
|
||||||
color_identity: arr An array of strings with all colors found in on the card itself.
|
color_identity: arr An array of strings with all colors found on the card itself.
|
||||||
legalities: dict A dictionary of all formats and their legality.
|
legalities: dict A dictionary of all formats and their legality.
|
||||||
reserved: bool Returns True if the card is on the reserved list.
|
reserved: bool Returns True if the card is on the reserved list.
|
||||||
reprint: bool Returns True if the card has been reprinted before.
|
reprint: bool Returns True if the card has been reprinted before.
|
||||||
|
|
Loading…
Reference in New Issue