Harsh Khare
Harsh Khare

Reputation: 33

What is the difference between tweepy.API, tweepy.Client and tweepy.Cursor?

I am new to Tweepy and came across these terms while reading the Tweepy Documentation. I am looking for the difference between the given three, more specifically in terms of how Tweets shall be fetched in response to a query along with the limitations in each case.

P.S.: The aim is to fetch a large amount of Tweets (by >1 keywords) in minimum possible time.

Upvotes: 2

Views: 1505

Answers (1)

Harmon758
Harmon758

Reputation: 5157

tweepy.API is Tweepy's interface for Twitter API v1.1.
tweepy.Client is Tweepy's interface for Twitter API v2.
tweepy.Cursor is Tweepy's interface for paginating through results from Twitter API v1.1.

Upvotes: 4

Related Questions