code: def timeline(self, timeline="home", max_id=None, min_id=None, since_id=None, limit=None):
          
          if max_id != None:
              max_id = self.__unpack_id(max_id)
          
          if min_id != None:
              min_id = self.__unpack_id(min_id)
              
          if since_id != None:
              since_id = self.__unpack_id(since_id)
          
          params_initial = locals()
  
          if timeline == "local":
              timeline = "public"
              params_initial['local'] = True
  
          params = self.__generate_params(params_initial, ['timeline'])
          url = '/api/v1/timelines/{0}'.format(timeline)
          return self.__api_request('GET', url, params)
docs: Fetch statuses, most recent ones first. `timeline` can be 'home', 'local', 'public',
          'tag/hashtag' or 'list/id'. See the following functions documentation for what those do.
          Local hashtag timelines are supported via the `timeline_hashtag()`_ function.
          
          The default timeline is the "home" timeline.
  
          Media only queries are supported via the `timeline_public()`_ and `timeline_hashtag()`_ functions.
  
          Returns a list of `toot dicts`_.