/cli-news-app

Simple python cli app for news

Primary LanguagePythonMIT LicenseMIT

cli-news-app

Simple python cli app for news

Python version: 3.7.4

Usage:

Usage: python app.py -country [country code] -category [category] -results [number of results]

Options:

-country	:	ae ar at au be bg br ca ch cn co cu cz de eg 
			fr gb gr hk hu id ie il in it jp kr lt lv ma 
			mx my ng nl no nz ph pl pt ro rs ru sa se sg 
			si sk th tr tw ua us ve za


-category   :	Business, Entertainment, General, Health, Science, Sports, Technology

-results    :	Number of Results (1-30). Default is 5.

-help		:	Shows this usage info

APIs used:

Both APIs are free.

  1. https://newsapi.org/ (API key required)
  2. https://shrtco.de/docs/ (No API key required)