Skip to main content

A Python web-scrap package to get soccer data/stats.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soccer-data-api-0.5.6.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

soccer_data_api-0.5.6-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page