Skip to main content

A command line program in Python.

Project description

PyPI version

A command line application for displaying news headlines, written in Python.

Getting Started



Newsapi-cli is on PyPI so it can be installed with pip.

$ pip install newsapi-cli

Using newsapi-cli

  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>


Get news headlines from the bbc-news source.

$ news bbc-news

Get top headlines about apple.

$ news search apple

Built With


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
newsapi-cli-1.1.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page