goldencheetahlib/client.py
def get_last_activities(self, n):
        """Get all activity data for the last activity

        Keyword arguments:
        """
        filenames = self.get_activity_list().iloc[-n:].filename.tolist()
        last_activities = [self.get_activity(f) for f in filenames]
        return last_activities
def get_last_activities(self, n):
        """Get all activity data for the last activity

        Keyword arguments:
        """
        filenames = self.get_activity_list().iloc[-n:].filename.tolist()
        last_activities = [self.get_activity(f) for f in filenames]
        return last_activities
def get_last_activities ( self , n ) : filenames = self . get_activity_list ( ) . iloc [ - n : ] . filename . tolist ( ) last_activities = [ self . get_activity ( f ) for f in filenames ] return last_activities
Get all activity data for the last activity

        Keyword arguments:
Get all activity data for the last activity