Example #1
0
 def getUsers(self):
     """
     Get friend requests
     """
     return [
         FoursquareUser(le) for le in self.getJSONObject(
             self.getJSONFromString(self._output.get('Response', [])),
             "response").get("requests", [])
     ]
Example #2
0
 def getUser(self):
     """
     Get users from the search results
     """
     return [
         FoursquareUser(le) for le in self.getJSONObject(
             self.getJSONFromString(self._output.get('Response', [])),
             "response").get("results", [])
     ]
Example #3
0
 def getUser(self):
     """
     Get friends
     """
     return FoursquareUser(
         self.getJSONObject(
             self.getJSONObject(
                 self.getJSONFromString(self._output.get('Response', [])),
                 "response"), "friends").get("items", []))
 def getUsers(self):
     """
     Get users in this group
     """
     return [FoursquareUser(le) for le in self.base.get("items", [])]
Example #5
0
 def getUser(self):
     """
     Get the user that created this tip
     """
     return FoursquareUser(self.base.get("user", []))
 def getUser(self):
     """
     Get the user details
     """
     return FoursquareUser(self.base.get("user", []))
 def getUser(self):
     """
     Get the user that left this comment
     """
     return FoursquareUser(self.base.get("user", []))
Example #8
0
 def getUser(self):
     """
     Get the users overlapping with the checkin
     """
     return FoursquareUser(self.base.get("user", []))
 def getUser(self):
     """
     Get the user who created this list
     """
     return FoursquareUser(self.base.get("user", []))
Example #10
0
 def getUser(self):
     return FoursquareUser(
         self.getJSONObject(
             self.getJSONFromString(self._output.get('Response', [])),
             "response").get("user", []))
 def getUser(self):
     """
     Get the user associated with this checkin
     """
     return FoursquareUser(self.base.get("user", []))
Example #12
0
 def getUser(self):
     """
     Contains the user information for the venue mayor
     """
     return FoursquareUser(self.base.get("user", []))
Example #13
0
 def getUser(self):
     """
     Get the user for this checkin
     """
     return FoursquareUser(self.base.get("user", []))
Example #14
0
 def getUser(self):
     """
     Get the user information for this notification item
     """
     return FoursquareUser(self.base.get("user", []))
Example #15
0
 def getUser(self):
     """
     Get the user for this leaderboard
     """
     return FoursquareUser(self.base.get("user", []))
 def getUser(self):
     """
     The user that created the todo for this venue
     """
     return FoursquareUser(self.base.get("user", []))
Example #17
0
 def getUser(self):
     """
     Get the user that took this photo
     """
     return FoursquareUser(self.base.get("user", []))