Skip to content

Microservice for fetching, caching and supplying news.

Notifications You must be signed in to change notification settings

turkarshreyash/TopHeadlines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopHeadlines

Service to find relevant news for a particular Category and Country. The json output from NEWS API is further filtered for relevant keyword provided to the Micro-service (example Keyword = Tendulkar). API call isn't made if call using same parameters was made in last 10 minutes, it is cached in sqlite database

Output is json containing:

Country Category Filter keyword News Title Description (first 100 words) Source News URL In case of bad parameters the API should return proper error messages.

API to fetch news data:

https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey={api-key}

API Key:13b10238f15a4da8a43aedada799b8e6

About

Microservice for fetching, caching and supplying news.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors