ligas


Nameligas JSON
Version 1.0.7 PyPI version JSON
download
home_pageNone
Summaryfetch soccer data with different ip and web browser
upload_time2024-08-25 12:34:47
maintainerNone
docs_urlNone
authoredjinedja
requires_pythonNone
licenseNone
keywords python soccer data ligues api football
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center" style="overflow: hidden; height: 130px;">
  <img src="https://github.com/EDJINEDJA/ligas/blob/main/docs/images/ligasv1.png" alt="ligas logo" style="clip-path: inset(0 0 20px 0);">
</p>
<p align="center">
    <a href="https://github.com/EDJINEDJA/ligas/blob/main/LICENSE" alt="Licence">
        <img src="https://img.shields.io/badge/license-MIT-yellow.svg" />
    </a> 
    <a href="https://github.com/EDJINEDJA/ligas/commits/main" alt="Commits">
        <img src="https://img.shields.io/github/last-commit/EDJINEDJA/ligas/main" />
    </a>
    <a href="https://github.com/EDJINEDJA/ligas" alt="Activity">
        <img src="https://img.shields.io/badge/contributions-welcome-orange.svg" />
    </a>
    <a href="https://github.com/EDJINEDJA/ligas" alt="Web Status">
        <img src="https://img.shields.io/website?down_color=red&down_message=down&up_color=success&up_message=up&url=http%3A%2F%2Fmatthaythornthwaite.pythonanywhere.com%2F" />
    </a>
</p>
<p align="center">
  <a href="https://pypi.org/project/ligas/">
    <img src="https://img.shields.io/pypi/v/ligas.svg", alt="pypi version badge"></img>
  </a>
  <a href="https://ligas.readthedocs.io/en/latest/">
    <img src="https://readthedocs.org/projects/nrc4d/badge/?version=latest" alt="documentation status badge"/></img>
  </a>
  <a href="https://pypi.org/project/ligas/">
    <img src="https://img.shields.io/pypi/dm/ligas.svg" alt="monthly pypi downloads badge"/></img>
  </a>
</p>

<p align="center">
  <a href=https://discord.gg/GTHc77sK>
    <img src="https://dcbadge.limes.pink/api/server/GTHc77sK" alt="Discord invite link badge"></img>
  </a>
  <a href="https://buymeacoffee.com/automatica">
    <img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee badge"></img>
  </a>
</p>

## Table of Contents

<!--ts-->
* [Aims and Objectives](#Aims-and-Objectives)
* [Usage](#Usage)
* [Soccer data](#Soccer-data)
<!--te-->

## 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
```bash
$ pip install ligas
```

## FBref
Data have been scraped from the following sources:
* [FBref](https://fbref.com/fr/)

eg:
```bash
$ 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.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ligas",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, soccer, data, ligues, api, football",
    "author": "edjinedja",
    "author_email": "automaticall06@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ea/95/4935846e50ae49f194a987a7c39028a15d40edc2279c62790b78b2eb80c1/ligas-1.0.7.tar.gz",
    "platform": null,
    "description": "<p align=\"center\" style=\"overflow: hidden; height: 130px;\">\n  <img src=\"https://github.com/EDJINEDJA/ligas/blob/main/docs/images/ligasv1.png\" alt=\"ligas logo\" style=\"clip-path: inset(0 0 20px 0);\">\n</p>\n<p align=\"center\">\n    <a href=\"https://github.com/EDJINEDJA/ligas/blob/main/LICENSE\" alt=\"Licence\">\n        <img src=\"https://img.shields.io/badge/license-MIT-yellow.svg\" />\n    </a> \n    <a href=\"https://github.com/EDJINEDJA/ligas/commits/main\" alt=\"Commits\">\n        <img src=\"https://img.shields.io/github/last-commit/EDJINEDJA/ligas/main\" />\n    </a>\n    <a href=\"https://github.com/EDJINEDJA/ligas\" alt=\"Activity\">\n        <img src=\"https://img.shields.io/badge/contributions-welcome-orange.svg\" />\n    </a>\n    <a href=\"https://github.com/EDJINEDJA/ligas\" alt=\"Web Status\">\n        <img src=\"https://img.shields.io/website?down_color=red&down_message=down&up_color=success&up_message=up&url=http%3A%2F%2Fmatthaythornthwaite.pythonanywhere.com%2F\" />\n    </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://pypi.org/project/ligas/\">\n    <img src=\"https://img.shields.io/pypi/v/ligas.svg\", alt=\"pypi version badge\"></img>\n  </a>\n  <a href=\"https://ligas.readthedocs.io/en/latest/\">\n    <img src=\"https://readthedocs.org/projects/nrc4d/badge/?version=latest\" alt=\"documentation status badge\"/></img>\n  </a>\n  <a href=\"https://pypi.org/project/ligas/\">\n    <img src=\"https://img.shields.io/pypi/dm/ligas.svg\" alt=\"monthly pypi downloads badge\"/></img>\n  </a>\n</p>\n\n<p align=\"center\">\n  <a href=https://discord.gg/GTHc77sK>\n    <img src=\"https://dcbadge.limes.pink/api/server/GTHc77sK\" alt=\"Discord invite link badge\"></img>\n  </a>\n  <a href=\"https://buymeacoffee.com/automatica\">\n    <img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee badge\"></img>\n  </a>\n</p>\n\n## Table of Contents\n\n<!--ts-->\n* [Aims and Objectives](#Aims-and-Objectives)\n* [Usage](#Usage)\n* [Soccer data](#Soccer-data)\n<!--te-->\n\n## Aims and Objectives\n\nIntroducing `ligas`, a Python package designed to revolutionize access to soccer data. No more tedious football api, copy-pasting, or manual data entry\u2014`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.\n\n\n## Usage\n#### Install\n\nTo install ligas, run\n```bash\n$ pip install ligas\n```\n\n## FBref\nData have been scraped from the following sources:\n* [FBref](https://fbref.com/fr/)\n\neg:\n```bash\n$ pip install ligas\n$ from ligas import Fbref\n$ Fbref.TeamInfos(team: str, league: str)\n```\nFbref contain the following modules\n\n| **Name**                                 | **Description**                        |\n|------------------------------------------|----------------------------------------|\n| `TeamInfos(team: str, league: str) -> dict` | Class or function to get information about a specific team.|\n| `TeamsInfo(league: str) -> dict`            | Retrieves information about multiple teams.|\n| `HeadHeadByTeam(team: str, year: str, league: str) -> dict`| Retrieves head-to-head statistics by team.|\n| `MatchReportByTeam(team: str, year: str, league: str)`     | Generates a match report for a specific team.|\n| `FixturesByTeam(team: str, year: str, league: str)`        | Lists the fixtures for a given team.|\n| `Matches(date: str, year: str, league: str)`               | Provides general information about matches.|\n| `HeadHead(year: str, league: str) -> dict`                 | Retrieves head-to-head statistics between two teams.|\n| `MatchReport(year: str, league: str) -> dict`              | Generates a detailed match report.|\n| `Fixtures(year: str, league: str) -> dict`                 | Lists fixtures for a league or team.|\n| `TopScorer(league: str, currentSeason: str) -> dict` | Retrieves the top scorer of a league for the current season.|\n| `TopScorers( league: str) -> dict`   | Retrieves the top scorers of a league.|\n| `LeagueInfos(year: str, league: str) -> dict` | Gets information about a specific league for a given year.|\n| `get_valid_seasons(league: str) -> SeasonUrls` | Retrieves the valid seasons for a given league.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "fetch soccer data with different ip and web browser",
    "version": "1.0.7",
    "project_urls": {
        "Bug Tracker": "https://github.com/edjinedja/ligas/issues"
    },
    "split_keywords": [
        "python",
        " soccer",
        " data",
        " ligues",
        " api",
        " football"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b9859392a5e9fd4a3945839835451d5fc2b0c5858558afe04b514cc0a2b23dd",
                "md5": "39a86565b508b00e437cefdd6e1bf006",
                "sha256": "27c6902a56407c8418f07b35d9bd215f7811ac73181275049c353477f30966f0"
            },
            "downloads": -1,
            "filename": "ligas-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "39a86565b508b00e437cefdd6e1bf006",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 19790,
            "upload_time": "2024-08-25T12:34:45",
            "upload_time_iso_8601": "2024-08-25T12:34:45.986989Z",
            "url": "https://files.pythonhosted.org/packages/6b/98/59392a5e9fd4a3945839835451d5fc2b0c5858558afe04b514cc0a2b23dd/ligas-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea954935846e50ae49f194a987a7c39028a15d40edc2279c62790b78b2eb80c1",
                "md5": "63188dd6d113dc5b6091fcca1fb1e5b3",
                "sha256": "4a307f2d4c2c0747908882a682626bbfa0f0ca8850ad976af9fc621d07398def"
            },
            "downloads": -1,
            "filename": "ligas-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "63188dd6d113dc5b6091fcca1fb1e5b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 21181,
            "upload_time": "2024-08-25T12:34:47",
            "upload_time_iso_8601": "2024-08-25T12:34:47.569998Z",
            "url": "https://files.pythonhosted.org/packages/ea/95/4935846e50ae49f194a987a7c39028a15d40edc2279c62790b78b2eb80c1/ligas-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-25 12:34:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "edjinedja",
    "github_project": "ligas",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "ligas"
}
        
Elapsed time: 0.32687s