A python package to get sports, weather, and news from BBC
Project description
BBCHeadlines
A python package to get sports, weather, and news from BBC.
Installation
pip3 install bbc-feeds
Usage
Import the library:
import bbc_feeds
Functions
News:
news().all()
news().world()
news().uk()
news().us()
news().entertainment()
news().buisness()
news().tech()
news().science()
news().tech()
Sports
sports().all()
sports().cricket()
sports().soccer()
sports().tennis()
sports().athletics()
sports().golf()
sports().boxing()
sports().swimming()
sports().cycling()
sports().formula1()
Weather
weather().forecast(city_id)
(To get your city ID, search for it at BBC Weather's Website).
All functions have an optional parameter limit
, where you can limit the number of entries.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbc-feeds-1.0.tar.gz
(2.0 kB
view hashes)