code: def sample(self, **params):
          
          url = 'https://stream.twitter.com/%s/statuses/sample.json' \
                % self.streamer.api_version
          self.streamer._request(url, params=params)
docs: Stream statuses/sample
  
          :param \*\*params: Parameters to send with your stream request
  
          Accepted params found at:
          https://developer.twitter.com/en/docs/tweets/sample-realtime/api-reference/get-statuses-sample