From 01acea86e1720468b8ba015abbb0385146a2a935 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Sat, 14 Apr 2018 14:21:31 -0400 Subject: [PATCH] Added has_more() function to Search --- scrython/cards/search.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scrython/cards/search.py b/scrython/cards/search.py index 9512f50..48145b3 100644 --- a/scrython/cards/search.py +++ b/scrython/cards/search.py @@ -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