Search company's news on Reuters
Project description
Reuters News
Search company's news on Reuters for Python
Install
pip install ReutersNews
Usage
- Initializing
from ReutersNews import ReutersNews
news = ReutersNews()
- Search company by ticker
news.search('AAPL.OQ')
- Set date range
news.range('2019-01-01','2019-01-10')
- Set news relevancy
news.setrelevancy(0.8)
- Set limit number of return result
news.setlimit(10000)
- Get search result
news.get()
Sample return result(list)
[{'title':...,'desc':...,'time':...},{'title':...,'desc':...,'time':...},{'title':...,'desc':...,'time':...}]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ReutersNews-1.0.2.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for ReutersNews-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687452e13902bee449f7f4eec9589c555e647d55e4c19f69c4e0b012d11e7d41 |
|
MD5 | 00c11639fccfa6b673f7542f831e46bd |
|
BLAKE2b-256 | b679adfd2dce0e9d80892430aadac6ae295a8fb6fdfb71090858bc2842df4185 |