Skip to content
المشاريع

حول

⛏⚽ استخراج بيانات كرة القدم من Club Elo وESPN وFBref وFootball-Data.co.uk وSofascore وSoFIFA وUnderstat وWhoScored.

التعلّم والتعليم

كيف تُقاس هذه الأرقام

2,154 نجمة331 التفرعات +3 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+٣
خلال 7 أيام
+٦
خلال 15 يومًا
+٩
خلال شهر
+٢٢

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

SoccerData

Downloads Per Month PyPI Python Version License Read the documentation at https://soccerdata.readthedocs.io/ Tests Codecov pre-commit Black

SoccerData is a collection of scrapers to gather soccer data from popular websites, including Club Elo, ESPN, FBref, Football-Data.co.uk, 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 2020/21 Premier League
fbref = sd.FBref('ENG-Premier League', '2021')

# Fetch data
games = fbref.read_schedule()
team_season_stats = fbref.read_team_season_stats(stat_type="passing")
player_season_stats = fbref.read_player_season_stats(stat_type="standard")

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…