Created by Cooper and Sam
Instructions
- Install Python3
- pip install tweepy
- Profit
Format:
Output from get_tweets('realDonaldTrump', 3) - 1.18.2020 - todo fix text formatting
{
"0": {
"handle": "realDonaldTrump",
"created_at": 1579376126,
"text": "\\u201cTrade Deals Drive Stocks To Record Highs.\\u201d @FoxNews",
"author": "Donald J. Trump"
},
"1": {
"handle": "realDonaldTrump",
"created_at": 1579375993,
"text": "\\u201cDay after day, really good news on the economy. By the way, this didn\\u2019t just happen by accident, it\\u2019s the result o\\u2026 https://t.co/r1EgJjkSnF",
"author": "Donald J. Trump"
},
"2": {
"handle": "realDonaldTrump",
"created_at": 1579375160,
"text": "Tremendous surge in new housing construction in December, 16.9%, biggest in many years!",
"author": "Donald J. Trump"
}
}