Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

martineastwood/xmlsoccer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

XmlSoccer Parser

Simple Python3 client for interacting with the XmlSoccer API.

Installation

cd xmlsoccer
python setup.py install

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.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 = xmls.call_api(method='GetLeagueStandingsBySeason',
                          seasonDateString='1314',
                          league='Scottish Premier League')

About

Python client for xmlsoccer.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages