How to return all tweets without providing a search query

python
tweepy

#1

I am working on a text mining project that deals with analyzing tweets based on the author’s native language.

I would like to get all tweets tweeted in english during a short period of time(not more than a day), without having the result matching to a specific search query, trend, or user criteria.

I am familiar with tweepy’s api.search function. However, when i try to run it without a search query:

api.search(count=remaining_tweets, since_id=str(since_id),lang='en', max_id=str(max_id-1))

i get the following message: “exception raised, waiting 15 minutes”.