def getNotifications(self): """ Get the count of unread notifications for the authenticated user """ return [ FoursquareNotification(le) for le in self.getJSONFromString( self._output.get('Response', [])).get("notifications", []) ]
def getNotifications(self): return [ FoursquareNotification(le) for le in self.getJSONFromString( self._output.get('Response', [])).get("notifications", []) ]