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 hashes)

Uploaded Source

Supported by

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