web service to scrape news items from BBC and return the result in a JSON response Currently supported sections: -> news, sport, weather, travel, culture, capital, future, food, art, bitsize
to get the data from these section on bbc.com, make a get request with two query paramas -> chapter : the section from where you want the results, news: number of top news that you want
To run locally:
- git clone
- python -m venv env
- pip install -r requirements.txt
- python manage.py runserver
or make a get request to :
https://radiant-depths-22682.herokuapp.com/
example : GET https://radiant-depths-22682.herokuapp.com/?chapter=sport&news=10 This will return top ten sports news from https://bbc.com