I would like to look up user information based on the user ID (specified in a tweet returned by the search endpoint). Is there a wrapper to do this in Python? Or should I just use the v2 endpoint with requests library?
twarc can do this: As a command line twarc2 (en) - twarc or as a library twarc.Client2 - twarc
I also like TwitterAPI library - it’s very minimal GitHub - geduldig/TwitterAPI: Minimal python wrapper for Twitter's REST and Streaming APIs