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.1.1.tar.gz
(1.9 kB
view details)
File details
Details for the file ReutersNews-1.1.1.tar.gz
.
File metadata
- Download URL: ReutersNews-1.1.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b8cfee052ceece49d64c0272202364a14cec6d4cad801f6f1644a2a8355611 |
|
MD5 | c61cb2c8b760da469aaf51212bf5fc19 |
|
BLAKE2b-256 | fd9400ff28b583beaa05daa5ef036c9468c0e5dbf8ccee7aea98dc85a1ce9efa |