From 495eb65ced97e337ca3a68e1368831287d10b7dc Mon Sep 17 00:00:00 2001 From: Chris Chomicki Date: Tue, 28 Nov 2017 17:47:52 -0500 Subject: [PATCH] Added search by location feature Added ability to search 'near' and 'within' a certain location and range. Both functions that were in the Python 2 versions --- got3/manager/TweetCriteria.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/got3/manager/TweetCriteria.py b/got3/manager/TweetCriteria.py index 695462b6..04b6ab9a 100644 --- a/got3/manager/TweetCriteria.py +++ b/got3/manager/TweetCriteria.py @@ -29,4 +29,12 @@ def setLang(self, Lang): def setTopTweets(self, topTweets): self.topTweets = topTweets - return self \ No newline at end of file + return self + + def setNear(self, near): + self.near = near + return self + + def setWithin(self, within): + self.within = within + return self