Metadata-Version: 2.1
Name: bbc-feeds
Version: 1.1
Summary: A python package to get news, weather, and sports from BBC
Home-page: https://github.com/gadhagod/bbc-feeds
Author: Aarav Borthakur
Author-email: gadhaguy13@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: feedparser
Requires-Dist: click

# bbc-feeds
[![](https://img.shields.io/pypi/v/bbc-feeds)](https://pypi.org/project/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](https://www.bbc.com/weather)).

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

