Created
January 16, 2017 04:22
-
-
Save jaymcgrath/367c521f1dd786bc5a05ec3eeeb1cb04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note - excludes __ and _ items | |
['author', | |
'contributors', | |
'coordinates', | |
'created_at', | |
'destroy', | |
'entities', | |
'favorite', | |
'favorite_count', | |
'favorited', | |
'geo', | |
'id', | |
'id_str', | |
'in_reply_to_screen_name', | |
'in_reply_to_status_id', | |
'in_reply_to_status_id_str', | |
'in_reply_to_user_id', | |
'in_reply_to_user_id_str', | |
'is_quote_status', | |
'lang', | |
'parse', | |
'parse_list', | |
'place', | |
'retweet', | |
'retweet_count', | |
'retweeted', | |
'retweets', | |
'source', | |
'source_url', | |
'text', | |
'truncated', | |
'user'] | |
""" |
@jaymcgrath So which of theses are retweets, favs, media count, URLs, reply info and poster info?
Hi whats the sources of this? It worked for me but I´m interested in more information
Thanks man, the creators can't bother to put this in their documentation.
@prakhar897 honestly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!
I'm learning Python and Tweepy right now and this was helpful. I've found that some of these attributes have sub-attributes.
For example, if I got a status tweet object named "status" and printed out the string, '\n'.join(dir(status[0])), I'll get the same list you did.
If I printed the string '\n'.join(dir(status[0].author)), I'll get the following: