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.
Makes use of the News API to get JSON metadata for news headlines.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

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

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.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for newsapi-cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4fe9d70952bdfe08381fc91aedd41fd1615ccaf4a1ae924fac0177d4ee64c12b
MD5 0d8651b8559a3c244adcbc6e9fde70a6
BLAKE2b-256 31c9958ddeaffb475eb38c89e5a5480dc0aed1d0f14f3a831aa376ed1e20ac53

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