Added support for the finishes attribute
This commit is contained in:
parent
5fc3e4f458
commit
4e74177207
|
@ -760,3 +760,14 @@ class CardsObject(FoundationObject):
|
||||||
super(CardsObject, self)._checkForKey('image_status')
|
super(CardsObject, self)._checkForKey('image_status')
|
||||||
|
|
||||||
return self.scryfallJson['image_status']
|
return self.scryfallJson['image_status']
|
||||||
|
|
||||||
|
def finishes(self):
|
||||||
|
"""A list of computer-readable flags that indicate if this card
|
||||||
|
can come in foil, nonfoil, etched, or glossy finishes.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
list: A list of all finishes.
|
||||||
|
"""
|
||||||
|
super(CardsObject, self)._checkForKey('finishes')
|
||||||
|
|
||||||
|
return self.scryfallJson['finishes']
|
||||||
|
|
Loading…
Reference in New Issue