A python package to get news, weather, and sports from BBC
Project description
bbc-feeds
A python package to get news, weather, and sports 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.
CLI
Usage: bbc [OPTIONS] COMMAND [ARGS]...
Get BBC feeds of several categories
Options:
--help Show this message and exit.
Commands:
news
sports
weather
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.