An open API service indexing awesome lists of open source software.

https://github.com/reppon97/soccer-data-api

An easy-to-use python web-scrap package that gets json soccer (football) data/stats.
https://github.com/reppon97/soccer-data-api

beautifulsoup football football-data leagues python python3 soccer webscraper webscraping

Last synced: 4 days ago
JSON representation

An easy-to-use python web-scrap package that gets json soccer (football) data/stats.

Awesome Lists containing this project

README

          

# 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

```
>>>from soccer_data_api import SoccerDataAPI

>>>soccer_data = SoccerDataAPI()

>>>soccer_data.english_premier()
>>>soccer_data.la_liga()
>>>soccer_data.ligue_1()
>>>soccer_data.bundesliga()
>>>soccer_data.serie_a()
>>>soccer_data.eredivisie()
>>>soccer_data.russian_premier()
>>>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.