Skip to content

thigm85/xmlsoccer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XmlSoccer Parser

Simple Python client for interacting with the XmlSoccer API.

Basic Usage

All of the XmlSoccer API methods can be accessed via the call_api function, as shown in the example below.

from xmlsoccer import xmlsoccer

xmls = XmlSoccer(api_key=YOUR_API_KEY, use_demo=False)

fixtures = xmls.call_api(method='GetHistoricMatchesByLeagueAndSeason',
                        seasonDateString='1314',
                        league='Scottish Premier League')
                        
teams = xmls.call_api(method='GetAllTeams')

leagues = xmls.call_api(method='GetAllLeagues')

standings = xmlsoccer.call_api(method='GetLeagueStandingsBySeason',
                               seasonDateString='1314',
                               league='English Premier League')

compatibility

The code has been successfully tested on Windows 7, OSX 10.9, Ubuntu and ElementaryOS Luna

Martin

About

Python client for xmlsoccer.com

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%