Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from .symbology_object import SymbologyObject
class Symbology(SymbologyObject):
"""
/symbology
Positional arguments:
No arguments are required.
Optional arguments:
All arguments are inherited from SymbologyObject
Attributes:
object : str . Returns the type of object it is. (card, error, etc)
has_more : bool . True if there are more pages to the object.
data : list . A list of all data returned.
data_length : int . The length of the data returned.
The following require an integer as an arg, which acts as a tuple.
from .symbology_object import SymbologyObject
class ParseMana(SymbologyObject):
"""
symbology/parse-mana
Positional arguments:
cost : str ....................... The given mana cost you want. (`RUG`)
Optional arguments:
All arguments are inherited from SymbologyObject
Attributes:
object : str ...... Returns the type of object it is. (card, error, etc)
mana_cost : str ............................... The formatted mana cost.
cmc : float ....................... The converted mana cost of the card.
colors : list ................... A list of all colors in the mana cost.
colorless : bool ................... True if the mana cost is colorless.
monocolored : bool .............. True if the mana cost is mono colored.