sports-news
Original:🇺🇸 English
Translated
Sports news via RSS/Atom feeds and Google News. Fetch headlines, search by query, filter by date. Covers football news, transfer rumors, match reports, and any sport via Google News. Use when: user asks for recent news, headlines, transfer rumors, or articles about any sport. Good for "what's the latest on [team/player]" questions. Supports any Google News query and curated RSS feeds (BBC Sport, ESPN, The Athletic, Sky Sports). Don't use when: user asks for structured data like standings, scores, statistics, or xG — use football-data instead. Don't use for prediction market odds — use polymarket or kalshi. Don't use for F1 timing data — use fastf1. News results are text articles, not structured data.
5installs
Added on
NPX Install
npx skill4agent add machina-sports/sports-skills sports-newsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Sports News
Setup
Before first use, check if the CLI is available:
bash
which sports-skills || pip install sports-skillsIf fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:
pip installbash
python3 --version # check version
# If < 3.10, try: python3.12 -m pip install sports-skills
# On macOS with Homebrew: /opt/homebrew/bin/python3.12 -m pip install sports-skillsNo API keys required.
Quick Start
Prefer the CLI — it avoids Python import path issues:
bash
sports-skills news fetch_items --google_news --query="Arsenal transfer" --limit=5
sports-skills news fetch_feed --url="https://feeds.bbci.co.uk/sport/football/rss.xml"Python SDK (alternative):
python
from sports_skills import news
articles = news.fetch_items(google_news=True, query="Arsenal transfer news", limit=10)
feed = news.fetch_feed(url="https://feeds.bbci.co.uk/sport/football/rss.xml")Commands
fetch_feed
Fetch and parse a full RSS/Atom feed.
- (bool, optional): Use Google News RSS. Default: false
google_news - (str): Search query (required if google_news=true)
query - (str): RSS feed URL (required if google_news=false)
url - (str, optional): Language code. Default: "en-US"
language - (str, optional): Country code. Default: "US"
country - (str, optional): Filter articles after date (YYYY-MM-DD)
after - (str, optional): Filter articles before date (YYYY-MM-DD)
before - (bool, optional): Sort newest first. Default: false
sort_by_date
fetch_items
Fetch items from a feed, optionally limited by count.
- Same params as , plus:
fetch_feed - (int, optional): Max number of items to return
limit
Useful RSS Feeds
| Source | URL |
|---|---|
| BBC Sport Football | |
| ESPN FC | |
| The Athletic | |
| Sky Sports Football | |
Google News Queries
Use with to search Google News:
google_news=Truequery- — Arsenal transfer news
"Arsenal transfer news" - — latest PL results
"Premier League results" - — CL draw coverage
"Champions League draw" - — World Cup news
"World Cup 2026"
Examples
User: "What's the latest Arsenal transfer news?"
- Call
fetch_items(google_news=True, query="Arsenal transfer news", limit=10) - Present headlines with source, date, and links
User: "Show me BBC Sport football headlines"
- Call
fetch_feed(url="https://feeds.bbci.co.uk/sport/football/rss.xml") - Present feed title, last updated, and recent entries
User: "Any Champions League news from this week?"
- Call
fetch_items(google_news=True, query="Champions League", after="2026-02-09", sort_by_date=True, limit=10) - Present articles filtered to the last 7 days, sorted newest first
Troubleshooting
- command not found: Package not installed. Run
sports-skills. If pip fails with a Python version error, you need Python 3.10+ — see Setup section.pip install sports-skills - : Same as above — install the package. Prefer the CLI over Python imports to avoid path issues.
ModuleNotFoundError: No module named 'sports_skills' - No results from Google News: Ensure is set AND
google_news=Trueis provided. Withoutquery, Google News has nothing to search.query - RSS feed returns error: Some feeds may block automated requests or be temporarily down. Use Google News as a fallback.
- Old articles appearing: Use the parameter (YYYY-MM-DD) to filter to recent articles. Combine with
after.sort_by_date=True - Non-English results: Set (e.g., "pt-BR") and
language(e.g., "BR") for localized Google News results.country