def locationFeeds(userid): ''' Based on location and user provided radius lets retrive the tweets ''' geoData = request.data geoDict = json.loads(geoData) logger.debug('geoData posted:%s', geoDict) feedList = [] feedList.extend(intercom.retrieveLocationBasedTags(geoDict)) return json.dumps(feedList)
def locationFeeds(userid): """ Based on location and user provided radius lets retrive the tweets """ geoData = request.data geoDict = json.loads(geoData) logger.debug("geoData posted:%s", geoDict) feedList = [] feedList.extend(intercom.retrieveLocationBasedTags(geoDict)) return json.dumps(feedList)