News-parser-cli - Simple CLI which allows you to receive news depending on the parameters passed to it

Overview

news-parser-cli

Simple CLI which allows you to receive news depending on the parameters passed to it

alt text

HOW TO USE?

Query structure:
./exe_name get -lang <string> -country <string> -category <string> -kwords <string>

Parameters:
-lang (necessarily)
-country (optional)
-category (necessarily if no -kwords arguments)
-kwords (necessarily if no -category arguments)

Examples:
./web-aggregator get -lang "en" -kwords "usa"
./web-aggregator get -lang "ru" -kwords "биткоин майнинг"
./web-aggregator get -lang "ru" -country "ua" -category "entertainment"

Response example:
{
"status": "success",
"totalResults": 1,
"results": [
{
"title": "Холли Берри вышла замуж за музыканта на тропическом острове",
"link": "https://www.mk.ru/culture/2022/01/03/kholli-berri-vyshla-zamuzh-za-muzykanta-na-tropicheskom-ostrove.html",
"keywords": [
"Культура"
],
"creator": null,
"video_url": null,
"description": "55-летняя американская актриса, режиссер, лауреат премий "Оскар", "Золотой глобус" и "Эмми! Холли Берри разместила на своей ст ранице в Instagram фото со свадебной церемонии",
"content": null,
"pubDate": "2022-01-02 21:43:37",
"full_description": "55-летняя американская актриса, режиссер, лауреат премий "Оскар", "Золотой глобус" и "Эмми! Холли Берри разместила на сво ей\ странице в Instagram фото со свадебной церемонии. Женихом актрисы стал ее бойфренд, 52-летний певец Ван Хант, с которым она состоит в отношениях с осени 202 0 года.\ "Что ж, Теперь все официально", - подписала романтический снимок Берри. Впрочем, подписчики не спешат поздравлять актрису с четвертым бракосочетанием ,\ так как не исключают, что пост был просто розыгрышем.",
"image_url": "https://static.mk.ru/upload/entities/2022/01/03/00/articles/detailPicture/fb/72/ec/7c/3d0ffb695a4672325ff8fa6798e02209.jpg",
"source_id": "mk"
}
],
"nextPage": null
}


All possible countries:

  • Argentina - ar
  • Australia - au
  • Austria - at
  • Belgium - be
  • Brazil - br
  • Bulgaria - bg
  • Canada - ca
  • China - cn
  • Colombia - co
  • Cuba - cu
  • Czech republic - cz
  • Egypt - eg
  • France - fr
  • Germany - de
  • Greece - gr
  • Hong kong - hk
  • Hungary - hu
  • India - in
  • Indonesia - id
  • Ireland - ie
  • Israel - il
  • Italy - it
  • Japan - jp
  • Latvia - lv
  • Lebanon - lb
  • Lithuania - lt
  • Malaysia - my
  • Mexico - mx
  • Morocco - ma
  • Netherland - nl
  • New zealand - nz
  • Nigeria - ng
  • North korea - kp
  • Norway - no
  • Pakistan - pk
  • Philippines - ph
  • Poland - pl
  • Portugal - pt
  • Romania - ro
  • Russia - ru
  • Saudi arabia - sa
  • Serbia - rs
  • Singapore - sg
  • Slovakia - sk
  • Slovenia - si
  • South africa - za
  • South korea - kr
  • Spain - es
  • Sweden - se
  • Switzerland - ch
  • Taiwan - tw
  • Thailand - th
  • Turkey - tr
  • Ukraine - ua
  • United arab emirates - ae
  • United kingdom - gb
  • United states of america - us
  • Venezuela - ve

All possible categories:

  • business
  • entertainment
  • environment
  • food
  • health
  • politics
  • science
  • sports
  • technology
  • top
  • world

All possible languages:

  • Arabic - ar
  • Bosnian - bs
  • Bulgarian - bg
  • Chinese - zh
  • Croatian - hr
  • Czech - cs
  • Dutch - nl
  • English - en
  • French - fr
  • German - de
  • Greek - el
  • Hebrew - he
  • Hindi - hi
  • Hungarian - hu
  • Indonesian - in
  • Italian - it
  • Japanese - jp
  • Korean - ko
  • Latvian - lv
  • Lithuanian - lt
  • Malay - ms
  • Norwegian - no
  • Polish - pl
  • Portuguese - pt
  • Romanian - ro
  • Russian - ru
  • Serbian - sr
  • Slovak - sk
  • Slovenian - sl
  • Spanish - es
  • Swedish - sv
  • Thai - th
  • Turkish - tr
  • Ukrainian - uk
You might also like...
sttr is command line software that allows you to quickly run various transformation operations on the string.
sttr is command line software that allows you to quickly run various transformation operations on the string.

sttr is command line software that allows you to quickly run various transformation operations on the string.

Allows you to collect all pprof profiles with one command.

Collect Allows you to collect all pprof profiles with one command. Installation Just go-get it: $ go get github.com/tommsawyer/collect/cmd/collect Mot

Little golang app that allows you to download a youtube video as mp3, and optionally embed ID3 tags -Cover Art, Artist ...-

yt2mp3 Little golang app that allows you to download a youtube video as mp3, and optionally embed ID3 tags -Cover Art, Artist ...- Instructions At the

Hasura-fzf - This command has a fzf-like UI that allows you to find and run the file version used by the hasura command

hasura-fzf This command has a fzf-like UI that allows you to find and run the fi

Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your Linux machine

magic4linux Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your PC Linux machine. This is a Linux implementation of th

ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.
ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.

Navigate through terminal like a pro 😎 💻 Demo • ⚗️ Installation • 🐜 Contribution • ❗ Known Issues ❓ Why? It's a pain to cd and ls multiple times to

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Go-ticket-booking-app - Simple CLI application which books tickets for a Go conference made to learn the fundamentals of Go programming language.

go-ticket-booking-app Simple CLI application which books ticket for a Go conference made to learn the fundamentals of Go programming language. Gorouti

Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset coverage and inform users when the criteria have been met.

Scrappy - A multi-type web scrapper with alerting Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset

Owner
Maxym
Maxym
Golisp-wtf - A lisp interpreter (still just a parser) implementation in golang. You may yell "What the fuck!?.." when you see the shitty code.

R6RS Scheme Lisp dialect interpreter This is an implementation of a subset of R6RS Scheme Lisp dialect in golang. The work is still in progress. At th

Vladimir Novikov 0 Jan 7, 2022
The Keel CLI allows you to setup Keel on your local dev machine or on a Kubernetes cluster

keel-cli What is keel-cli The Keel CLI allows you to setup Keel on your local dev machine or on a Kubernetes cluster, launches and manages Keel instan

null 0 Oct 7, 2021
A CLI application that allows you to run a complete ToDo app from your terminal application

todo-cli This is a CLI application that allows you to run a complete ToDo app from your terminal application. As a user you can: Create a list of todo

Jonathan Reeves 0 Oct 11, 2021
The Dapr CLI allows you to setup Dapr on your local dev machine or on a Kubernetes cluster

Dapr CLI The Dapr CLI allows you to setup Dapr on your local dev machine or on a

null 1 Dec 23, 2021
A Hacker News 'client' written in Golang.

Chaker The Hacker News 'client' for the terminal. Written in Golang. Table of Content Introduction Features Contributions and Issues Installation Usag

Wumi4 7 Nov 22, 2022
🌿circumflex is a command line tool for browsing Hacker News in your terminal

??circumflex is a command line tool for browsing Hacker News in your terminal

Ben Sadeh 669 Jan 1, 2023
I like reading news but I also like the terminal. I am leaning and practicing my go.

I made an api and didn't know how to use it. Screenshots The initial screen when you first run the app. The screen after you specify an id. This app u

Daniel M. Matongo 2 Jan 14, 2022
Pudl - Pudelek.pl news in command line

Pudl Command line tool to help you stay on top of news on pudelek.pl (Polish gos

Jakub 2 Feb 4, 2022
A simple command line tool using which you can skip phone number based SMS verification by using a temporary phone number that acts like a proxy.

Fake-SMS A simple command line tool using which you can skip phone number based SMS verification by using a temporary phone number that acts like a pr

Narasimha Prasanna HN 754 Dec 31, 2022
A simple tool which you can use to move through your directories from the command line

Fe What is Fe ? Fe is a simple tool which you can use to move through your direc

Pranav Baburaj 8 Jan 1, 2022