Unofficial Python API client wrapper package around TheSportsDB.com API
Project description
TheSportsDB Python SDK.
Unofficial Python API client wrapper package around TheSportsDB API . An open, crowd-sourced database of sports artwork and metadata with a free API.
Documentation
How to Install
# In terminal do:
$ pip install thesportsdb
Building from Source for Developers
$ git clone https://github.com/TralahM/thesportsdb.git
$ cd thesportsdb
$ python setup.py build
$ pip install -e .
QuickStart
import thesportsdb
event_info=thesportsdb.events.eventInfo("1008672")
event_result=thesportsdb.events.eventResult("1008695")
previous_events=thesportsdb.events.lastLeagueEvents("4328")
events_for_league_season20192020=thesportsdb.events.leagueSeasonEvents("4328", "2019-2020")
upcoming_soccer_events=thesportsdb.events.nextLeagueEvents("4328")
all_countries=thesportsdb.countries.allCountries()
all_leagues=thesportsdb.leagues.allLeagues()
EPL_info=thesportsdb.leagues.leagueInfo("4328")
EPL_standings=thesportsdb.leagues.leagueSeasonTable("4328", "2019-2020")
soccer_leagues=thesportsdb.leagues.sportLeagues("102")
Team_sports=thesportsdb.sports.TeamVsTeamSports()
all_sports=thesportsdb.sports.allSports()
nonTeamSports=thesportsdb.sports.nonTeamVsTeamSports()
sport_details=thesportsdb.sports.sportInfo("102")
EPL_teams=thesportsdb.teams.leagueTeams("4328")
team_details_ManC=thesportsdb.teams.teamInfo("133613")
## print(thesportsdb)
Contributing
Support
LICENCE
Self-Promotion
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
thesportsdb-0.1.2.tar.gz
(48.3 kB
view details)
Built Distribution
File details
Details for the file thesportsdb-0.1.2.tar.gz
.
File metadata
- Download URL: thesportsdb-0.1.2.tar.gz
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12aa7504c2d3d27d90d4d77f1c4ebac866f59128bc533d4a933aa0113995d424 |
|
MD5 | a16b9b5325b94905fb1380e7703f26f2 |
|
BLAKE2b-256 | f35a4c635b0694237d5c159ee21b243f3073f635e0c0d7036442b5eff9c392e8 |
File details
Details for the file thesportsdb-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: thesportsdb-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4779afeb7a65980884cd63ac8dd6f6a81e28aef71515f5af2719bcdb55a29970 |
|
MD5 | ce05126e042d0fd35a87af1f5b878c61 |
|
BLAKE2b-256 | 45d97f0a99b75c87c4b647a73845e44b755a3be0aefca5923db82144a05e16b7 |