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 -h | --help
news --version
Display a list of all news sources
$ news sources
Get headlines from a specific source
$ news <source>
Example
Get news headlines from the bbc-news source.
$ news bbc-news
Built With
License
This project is licensed under the MIT License
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.0.3.tar.gz
(4.1 kB
view details)
File details
Details for the file newsapi-cli-1.0.3.tar.gz.
File metadata
- Download URL: newsapi-cli-1.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b082f2b7f9c427060b201ef82d0177ff1fbbf9a3717b8bcdc90924fd339f0dd
|
|
| MD5 |
39989f3ddee20d3dc6f309c8b5138079
|
|
| BLAKE2b-256 |
9ba4b1b20f2feb68983520e51a1ea9219ad3316a127e4769d1f30d92ee88bfa4
|