Skip to main content

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

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

Authors

License

This project is licensed under the MIT License

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

newsapi-cli-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file newsapi-cli-1.0.1.tar.gz.

File metadata

  • Download URL: newsapi-cli-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for newsapi-cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0bfb889cf07f72a378599b04530c566ab6448c9f285853fb90d692ebbba8de3d
MD5 1f7f3060f39daa20c7fa8fece72f6ef9
BLAKE2b-256 ca5a46299887dad3f19dd3f152cd233c125c4fef6c681ad15b9bb419d7551b23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page