Added support for tcgplayer_etched_id

This commit is contained in:
NandaScott 2021-09-06 12:32:15 -04:00
parent daee40ba20
commit 5e274384f5
1 changed files with 11 additions and 1 deletions

View File

@ -91,6 +91,16 @@ class CardsObject(FoundationObject):
return self.scryfallJson['tcgplayer_id']
def tcgplayer_etched_id(self):
"""The `etched_id` of the card on TCGplayer.
Returns:
integer: The TCGplayer etched id of the card
"""
super(CardsObject, self)._checkForKey('tcgplayer_etched_id')
return self.scryfallJson['tcgplayer_etched_id']
def name(self):
"""The oracle name of the card