I’m working on a Python app that uses the Tweepy API. The docs aren’t entirely thorough so I thought I’d put this out there for anyone who needed it like I did.
So for example, you have the below
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) api = tweepy.API(auth) other_user = api.get_user(user_name) my_info = api.me()
other_user now has this structure…