Skip to main content

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

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 Distribution

bbc-feeds-2.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

bbc_feeds-2.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page