コード例 #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", [])
     ]
コード例 #2
0
ファイル: FindUsers.py プロジェクト: cwarny/entity-resolution
 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", [])
     ]
コード例 #3
0
 def getUser(self):
     """
     Get friends
     """
     return FoursquareUser(
         self.getJSONObject(
             self.getJSONObject(
                 self.getJSONFromString(self._output.get('Response', [])),
                 "response"), "friends").get("items", []))
コード例 #4
0
 def getUsers(self):
     """
     Get users in this group
     """
     return [FoursquareUser(le) for le in self.base.get("items", [])]
コード例 #5
0
 def getUser(self):
     """
     Get the user that created this tip
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #6
0
 def getUser(self):
     """
     Get the user details
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #7
0
 def getUser(self):
     """
     Get the user that left this comment
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #8
0
 def getUser(self):
     """
     Get the users overlapping with the checkin
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #9
0
 def getUser(self):
     """
     Get the user who created this list
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #10
0
 def getUser(self):
     return FoursquareUser(
         self.getJSONObject(
             self.getJSONFromString(self._output.get('Response', [])),
             "response").get("user", []))
コード例 #11
0
 def getUser(self):
     """
     Get the user associated with this checkin
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #12
0
 def getUser(self):
     """
     Contains the user information for the venue mayor
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #13
0
 def getUser(self):
     """
     Get the user for this checkin
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #14
0
 def getUser(self):
     """
     Get the user information for this notification item
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #15
0
 def getUser(self):
     """
     Get the user for this leaderboard
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #16
0
 def getUser(self):
     """
     The user that created the todo for this venue
     """
     return FoursquareUser(self.base.get("user", []))
コード例 #17
0
 def getUser(self):
     """
     Get the user that took this photo
     """
     return FoursquareUser(self.base.get("user", []))