Sanardi / flask-api

converts xml rss news feeds into json and lets you filter them by data and category

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Python Flask Dockerized Application that parses RSS feeds, sorts them and returns json#

You need Docker installed.

just clone and run startapp.sh on linux, it will start a detached docker container called flask on Port 5000.

For making requests, the pattern is:

/all : for full dictionary with current news across all sources

/category/ : gives news across one category currently "news" or "tech" from all available sources

/category//<\source> : gives the selected type of news from your selected source

About

converts xml rss news feeds into json and lets you filter them by data and category


Languages

Language:Python 92.3%Language:Dockerfile 4.4%Language:Shell 3.4%