A collection of wrappers over soccer data from various websites / APIs.
Project description
SoccerData is a collection of scrapers to gather soccer data from popular websites, including Club Elo, ESPN, FBref, FiveThirtyEight, Football-Data.co.uk, FotMob, Sofascore, SoFIFA, Understat and WhoScored. You get Pandas DataFrames with sensible, matching column names and identifiers across datasets. Data is downloaded when needed and cached locally.
import soccerdata as sd
# Create a scraper class instance for the 2018/19 Premier League
five38 = sd.FiveThirtyEight('ENG-Premier League', '1819')
# Fetch data
games = five38.read_games()
forecasts = five38.read_forecasts()
clinches = five38.read_clinches()
To learn how to install, configure and use SoccerData, see the Quickstart guide. For documentation on each of the supported data sources, see the example notebooks and API reference.
Usage Notice: Please use this web scraping tool responsibly and in compliance with the terms of service of the websites you intend to scrape. The software is provided as-is, without any warranty or guarantees of any kind. The developers disclaim any responsibility for misuse, legal consequences, or damages resulting from its use. It is your responsibility to use the software in accordance with the laws and regulations of your jurisdiction.
Contribution and Issues: As soccerdata relies on web scraping, any changes to the scraped websites will break the package. Hence, do not expect that all code will work all the time. If you spot any bugs, then please fork it and start a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file soccerdata-1.8.3.tar.gz
.
File metadata
- Download URL: soccerdata-1.8.3.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1cb68a679e58300076dd04f2e27823f43d0578701ce89eaf7c1749bfdd54b1 |
|
MD5 | 7d5588c8ddc1cea1ee1c8e0b0de8dea2 |
|
BLAKE2b-256 | 7f1c857d6df754a1922fca2baec65fc906488dfed4843cfeac76c4fb7bf1dddc |
File details
Details for the file soccerdata-1.8.3-py3-none-any.whl
.
File metadata
- Download URL: soccerdata-1.8.3-py3-none-any.whl
- Upload date:
- Size: 57.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109bd3297d277da0b3ec8494ad60af81fe50d0070db92bf3c4513935a16dd879 |
|
MD5 | 883de53dc3d270d599f85ea4676091ae |
|
BLAKE2b-256 | 63d96debf9c09b72d02d83bba56bc6d6466f867c461652b3c5618dd102e3cce6 |