{"id":17381851,"url":"https://github.com/cwendt94/espn-api","last_synced_at":"2025-02-27T10:30:48.522Z","repository":{"id":38820850,"uuid":"198669485","full_name":"cwendt94/espn-api","owner":"cwendt94","description":"ESPN Fantasy API! (Football, Basketball)","archived":false,"fork":false,"pushed_at":"2024-09-24T15:41:45.000Z","size":5768,"stargazers_count":620,"open_issues_count":48,"forks_count":201,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-10-12T15:46:20.808Z","etag":null,"topics":["api","basketball","espn","fantasy","football"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwendt94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-24T16:11:15.000Z","updated_at":"2024-10-11T18:34:14.000Z","dependencies_parsed_at":"2023-02-18T09:45:31.583Z","dependency_job_id":"6987f443-ff12-4f4a-919a-b50bbc7fb17c","html_url":"https://github.com/cwendt94/espn-api","commit_stats":{"total_commits":367,"total_committers":31,"mean_commits":"11.838709677419354","dds":0.2724795640326976,"last_synced_commit":"41780f469f20608548732eb9a896f8ac22ce1cb1"},"previous_names":["cwendt94/ff-espn-api"],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwendt94%2Fespn-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwendt94%2Fespn-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwendt94%2Fespn-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwendt94%2Fespn-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwendt94","download_url":"https://codeload.github.com/cwendt94/espn-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842826,"owners_count":16556565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","basketball","espn","fantasy","football"],"created_at":"2024-10-16T07:02:02.042Z","updated_at":"2024-10-16T07:04:55.418Z","avatar_url":"https://github.com/cwendt94.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"![](https://github.com/cwendt94/espn-api/workflows/Espn%20API/badge.svg)\r\n![](https://github.com/cwendt94/espn-api/workflows/Espn%20API%20Integration%20Test/badge.svg) [![codecov](https://codecov.io/gh/cwendt94/espn-api/branch/master/graphs/badge.svg)](https://codecov.io/gh/cwendt94/espn-api) [![Join the chat at https://gitter.im/ff-espn-api/community](https://badges.gitter.im/ff-espn-api/community.svg)](https://gitter.im/ff-espn-api/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![PyPI version](https://badge.fury.io/py/espn-api.svg)](https://badge.fury.io/py/espn-api)\u003ca target=\"_blank\" href=\"https://www.python.org/downloads/\" title=\"Python version\"\u003e\u003cimg src=\"https://img.shields.io/badge/python-%3E=_3.8-teal.svg\"\u003e\u003c/a\u003e\r\n\r\n\r\n## ESPN API\r\nThis package uses ESPN's Fantasy API to extract data from any public or private league for **Fantasy Football and Basketball (NHL, MLB, and WNBA are in development)**.  \r\nPlease feel free to make suggestions, bug reports, and pull request for features or fixes!\r\n\r\nThis package was inspired and based off of [rbarton65/espnff](https://github.com/rbarton65/espnff).\r\n\r\n## Installing\r\nWith Git:\r\n```\r\ngit clone https://github.com/cwendt94/espn-api\r\ncd espn-api\r\npython3 setup.py install\r\n```\r\nWith pip:\r\n```\r\npip install espn_api\r\n```\r\n\r\n## Usage\r\n### [For Getting Started and API details head over to the Wiki!](https://github.com/cwendt94/espn-api/wiki)\r\n```python\r\n# Football API\r\nfrom espn_api.football import League\r\n# Basketball API\r\nfrom espn_api.basketball import League\r\n# Hockey API\r\nfrom espn_api.hockey import League\r\n# Baseball API\r\nfrom espn_api.baseball import League\r\n# Init\r\nleague = League(league_id=222, year=2019)\r\n```\r\n\r\n### Run Tests\r\n```\r\npython3 setup.py nosetests\r\n```\r\n## [Discussions](https://github.com/cwendt94/espn-api/discussions) (new)\r\nIf you have any questions about the package, ESPN API data, or want to talk about a feature please start a [discussion](https://github.com/cwendt94/espn-api/discussions)! \r\n\r\n\r\n## Issue Reporting\r\nIf you find a bug follow the steps below for reporting.\r\n\r\n1. Open a [new issue](https://github.com/cwendt94/espn-api/issues) with a brief description of the bug for the title. In the title also add which sport (Football or Basketball)\r\n\r\n2. Run the application in debug mode to view ESPN API request's and response's\r\n    ```python\r\n    # ... import statement above\r\n    league = League(league_id=1245, year=2019, debug=True)\r\n    ```\r\n    The application will print all requests and the response from ESPN's API in the console. I would suggest piping the console output to a text file as it will be a lot of data.\r\n\r\n3. Find the last log before the crash and copy it in the issue descrption with the line number of the crash or possible bug.\r\n\r\n4. Submit the new issue!\r\n\r\nI will try to comment on the issue as soon as possible with my thoughts and possible fix!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwendt94%2Fespn-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwendt94%2Fespn-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwendt94%2Fespn-api/lists"}