Skip to main content

fetch soccer data with different ip and web browser

Project description

ligas logo

pypi version badge documentation status badge monthly pypi downloads badge

Discord invite link badge Buy Me A Coffee badge

Table of Contents

Aims and Objectives

Introducing ligas, a Python package designed to revolutionize access to soccer data. No more tedious football api, copy-pasting, or manual data entry—ligas makes it effortless for anyone with basic Python knowledge to tap into a world of soccer statistics. By streamlining the process, ligas allows you to focus on analysis and insights, whether you're a data scientist, analyst, or simply a soccer enthusiast. With ligas, the complex task of gathering and managing soccer data becomes simple, empowering you to explore and enjoy the beautiful game like never before.

Usage

Install

To install ligas, run

$ pip install ligas

FBref

Data have been scraped from the following sources:

eg:

$ pip install ligas
$ from ligas import Fbref
$ Fbref.TeamInfos(team: str, league: str)

Fbref contain the following modules

Name Description
TeamInfos(team: str, league: str) -> dict Class or function to get information about a specific team.
TeamsInfo(league: str) -> dict Retrieves information about multiple teams.
HeadHeadByTeam(team: str, year: str, league: str) -> dict Retrieves head-to-head statistics by team.
MatchReportByTeam(team: str, year: str, league: str) Generates a match report for a specific team.
FixturesByTeam(team: str, year: str, league: str) Lists the fixtures for a given team.
Matches(date: str, year: str, league: str) Provides general information about matches.
HeadHead(year: str, league: str) -> dict Retrieves head-to-head statistics between two teams.
MatchReport(year: str, league: str) -> dict Generates a detailed match report.
Fixtures(year: str, league: str) -> dict Lists fixtures for a league or team.
TopScorer(league: str, currentSeason: str) -> dict Retrieves the top scorer of a league for the current season.
TopScorers( league: str) -> dict Retrieves the top scorers of a league.
LeagueInfos(year: str, league: str) -> dict Gets information about a specific league for a given year.
get_valid_seasons(league: str) -> SeasonUrls Retrieves the valid seasons for a given league.

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

ligas-1.0.7.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

ligas-1.0.7-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file ligas-1.0.7.tar.gz.

File metadata

  • Download URL: ligas-1.0.7.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for ligas-1.0.7.tar.gz
Algorithm Hash digest
SHA256 4a307f2d4c2c0747908882a682626bbfa0f0ca8850ad976af9fc621d07398def
MD5 63188dd6d113dc5b6091fcca1fb1e5b3
BLAKE2b-256 ea954935846e50ae49f194a987a7c39028a15d40edc2279c62790b78b2eb80c1

See more details on using hashes here.

File details

Details for the file ligas-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: ligas-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for ligas-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 27c6902a56407c8418f07b35d9bd215f7811ac73181275049c353477f30966f0
MD5 39a86565b508b00e437cefdd6e1bf006
BLAKE2b-256 6b9859392a5e9fd4a3945839835451d5fc2b0c5858558afe04b514cc0a2b23dd

See more details on using hashes here.

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