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

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

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.2.zip (5.7 kB view details)

Uploaded Source

File details

Details for the file newsapi-cli-1.0.2.zip.

File metadata

  • Download URL: newsapi-cli-1.0.2.zip
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for newsapi-cli-1.0.2.zip
Algorithm Hash digest
SHA256 a2e61703ec79a7299772ee7777ecdbff2ecd7f80031eaf54546d74531321797d
MD5 e737d3b300b2fb4712447dde93c3fa78
BLAKE2b-256 a59cf7451879713ea22c55c35cc8ccc95b63bad2b80d36f0fd0da30c3ad38a86

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