项目作者: reppon97

项目描述 :
高级语言: Python
项目地址: git://github.com/reppon97/soccer-data-api.git
创建时间: 2020-08-16T11:08:26Z
项目社区:https://github.com/reppon97/soccer-data-api

开源协议:MIT License

下载


soccer-data-api

An easy-to-use python web-scrap package that gets json soccer (football) data/stats. All data belongs to https://www.sports-reference.com/

Installation

python3 -m pip install soccer-data-api

or

pip3 install soccer-data-api

Usage

  1. >>>from soccer_data_api import SoccerDataAPI
  2. >>>soccer_data = SoccerDataAPI()
  3. >>>soccer_data.english_premier()
  4. >>>soccer_data.la_liga()
  5. >>>soccer_data.ligue_1()
  6. >>>soccer_data.bundesliga()
  7. >>>soccer_data.serie_a()
  8. >>>soccer_data.eredivisie()
  9. >>>soccer_data.russian_premier()
  10. >>>soccer_data.english_championship()

Leagues available: English Premier League, Spanish La Liga, French Ligue 1, German Bundesliga, Italian Serie A, Dutch Eredivisie, Russian Premier League, English Championship.