def GetListTimeline(self,
                      user=None,
                      list_id=None):
    if user:
      url = TWITTER_API_ROOT + '/' + user + '/lists/' + list_id + '/statuses.json'
    elif not user and not self._username:
      raise TwitterError("User must be specified if API is not authenticated.")
    else:
      url = TWITTER_API_ROOT + '1/' + self._username + '/lists/' + list_id + '/statuses.json'
    parameters = {}
    json = self._FetchUrl(url, parameters=parameters)
    data = simplejson.loads(json)
    self._CheckForTwitterError(data)
    return [Status.NewFromJsonDict(x) for x in data]
Fetch the sequence of twitter.Status messages for a user's friends
dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api.GetListTimeline