A newsapi.org command line program in Python.
Project description
A command line application for displaying news headlines, written in Python.
Getting Started
Prerequisites
Installing
Newsapi-cli is on PyPI so it can be installed with pip.
$ pip install newsapi-cli
Using newsapi-cli
Usage:
news sources
news <source>
news search <keyword>
news -h | --help
news --version
Display a list of all news sources
$ news sources
Get headlines from a specific source
$ news <source>
Get headlines related to a keyword
$ news search <keyword>
Example
Get news headlines from the bbc-news source.
$ news bbc-news
Get top headlines about apple.
$ news search apple
Built With
License
This project is licensed under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
newsapi-cli-1.1.0.tar.gz
(3.7 kB
view details)
File details
Details for the file newsapi-cli-1.1.0.tar.gz
.
File metadata
- Download URL: newsapi-cli-1.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab0dabe3a6b26e681eee012e2570439fdca760c8d38ec71ae9c5f66ef96e3a6 |
|
MD5 | f2d059085313ce5dd55e1272c733ee46 |
|
BLAKE2b-256 | 274558543e2535f3e682f29eded6c5b574c35e87c999894b11402d6aff533fe3 |