Closed danielpartida closed 2 years ago
Since API
is Tweepy's interface with Twitter API v1.1, API.search_tweets
uses the Twitter API v1.1 endpoint you've linked. This is not something that is going to be changed. Client
is Tweepy's interface with Twitter API v2, and Client.search_all_tweets
uses the Twitter API v2 endpoint that you've linked.
The method implemented at Twitter API V2 https://developer.twitter.com/en/docs/twitter-api/tweets/search/api-reference/get-tweets-search-all takes into consideration "start_time" and "end_time". The older version (Twitter API V1 v) takes only into consideration "until" https://developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets