r = TwitterRestPager(api, 'search/tweets', {'q':'giraffe', 'count':100}) for item in r.get_iterator(): print(item['text'])