Added lang attribute

This commit is contained in:
Nanda Scott 2018-06-13 13:44:26 -04:00
parent d157d693ed
commit b9ca5393c6
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,8 @@
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

View File

@ -388,3 +388,8 @@ class CardsObject(object):
self._checkForKey('arena_id')
return self.scryfallJson['arena_id']
def lang(self):
self._checkForKey('lang')
return self.scryfallJson['lang']