Added has_more() function to Search

This commit is contained in:
Nanda Scott 2018-04-14 14:21:31 -04:00
parent 22f7e17158
commit 01acea86e1
1 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,11 @@ class Search(CardsObject):
return self.scryfallJson['data'][num]
def has_more(self):
super(Search, self)._checkForKey('has_more')
return self.scryfallJson['has_more']
#The following attributes are only to override the inherited class attributes.
#This class has no matching attributes but we still need the getRequest function from CardsObject