Infomagier
Infomagier

Reputation: 329

Access tweet annotations via tweepy

I'm using the python library tweepy in order to extract data from the twitter api v2. The api also possesses the option to provide tweet annotations, which are basically categorization of certain elements used in the tweet. (The endpoint and documentation of this is available at: https://developer.twitter.com/en/docs/twitter-api/annotations/overview).

My question would be if there is a way to call this endpoint via tweepy? Or is there another way to access the automatic categorization of words using tweepy?

Upvotes: 1

Views: 238

Answers (1)

Alessandro Togni
Alessandro Togni

Reputation: 885

From the tweepy documentations:

 tweepy.Tweet.context_annotations

should give you the infos you want.

Upvotes: 1

Related Questions