Added lang attribute
This commit is contained in:
parent
d157d693ed
commit
b9ca5393c6
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
New stuff
|
New stuff
|
||||||
|
|
||||||
- The Arena IDs are now accessible from all `cards` objects with `arena_id()`
|
- Arena IDs are now accessible from all `cards` objects with `arena_id()`.
|
||||||
|
- The `lang` attribute is now accessible from all `cards` objects with `lang()`
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
|
|
||||||
|
|
|
@ -388,3 +388,8 @@ class CardsObject(object):
|
||||||
self._checkForKey('arena_id')
|
self._checkForKey('arena_id')
|
||||||
|
|
||||||
return self.scryfallJson['arena_id']
|
return self.scryfallJson['arena_id']
|
||||||
|
|
||||||
|
def lang(self):
|
||||||
|
self._checkForKey('lang')
|
||||||
|
|
||||||
|
return self.scryfallJson['lang']
|
Loading…
Reference in New Issue