/commandline-news

get news from command line

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Get News

getnews demo

Get news is a small shell that fetches news from different sources such as gizmodo, nytime, etc...\

Requirements

  • jq, on Mac (brew install jq)
  • chmod u+x getnews.sh
  • newsapi.org api key

How to use

  • obtain api key (free) from news api
  • `./getnews.sh topic "lebron james"
    To get news topic about lebron james
  • ./getnews.sh country ca
    To get headline news in Canada