startDate = '2018-06-12 00:30:00'
endDate = '2019-06-12 17:35:00'
articles = client.get_news(tickers=['GOOGL'],
sources=['washingtonpost.com'],
startDate = startDate,
endDate = endDate)
df2 = pd.DataFrame(articles)
df2.head()
This is the code and when it outputs at 'df2.head()', the first article is from 2020. Has anyone gone through this?
API
documentation[email protected]
.