Skip to main content

Unofficial Python API client wrapper package around TheSportsDB.com API

Project description

Build Status Build status Build status Documentation Status License: GPLV3 Organization Views PRs Welcome GitHub pull-requests Language

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.

TralahTek TralahM TralahM

Documentation

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

See the Contributing File

See the Pull Request File

Support

LICENCE

Read the LICENSE here

Self-Promotion

TralahM TralahM TralahM TralahM

Blog

TralahTek

Project details


Download files

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

Files for thesportsdb, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size thesportsdb-0.1.2-py3-none-any.whl (33.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size thesportsdb-0.1.2.tar.gz (48.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page