GetAllLeagues output

This method (GetAllLeagues) returns all published leagues on xmlsoccer.com. 

XML Example

<?xml version="1.0" encoding="utf-8"?>
<XMLSOCCER.COM>
    <League>
        <Id>1</Id>
        <Name>English Premier League</Name>
        <Country>England</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>2557</NumberOfMatches>
        <LatestMatch>2013-03-02T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>2</Id>
        <Name>English League Championship</Name>
        <Country>England</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>3267</NumberOfMatches>
        <LatestMatch>2013-03-02T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>3</Id>
        <Name>Scottish Premier League</Name>
        <Country>Scotland</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1314</NumberOfMatches>
        <LatestMatch>2013-03-02T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>4</Id>
        <Name>Bundesliga</Name>
        <Country>Germany</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1743</NumberOfMatches>
        <LatestMatch>2013-03-02T15:30:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>5</Id>
        <Name>Serie A</Name>
        <Country>Italy</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>2161</NumberOfMatches>
        <LatestMatch>2013-03-01T20:45:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>6</Id>
        <Name>Serie B</Name>
        <Country>Italy</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>2635</NumberOfMatches>
        <LatestMatch>2013-03-02T15:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>7</Id>
        <Name>Ligue 1</Name>
        <Country>France</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>2161</NumberOfMatches>
        <LatestMatch>2013-03-01T20:30:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>8</Id>
        <Name>La Liga</Name>
        <Country>Spain</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>2152</NumberOfMatches>
        <LatestMatch>2013-03-02T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>9</Id>
        <Name>Superleague Greece</Name>
        <Country>Greece</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1386</NumberOfMatches>
        <LatestMatch>2013-03-02T16:15:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>10</Id>
        <Name>Eredivisie</Name>
        <Country>Holland</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1747</NumberOfMatches>
        <LatestMatch>2013-03-01T20:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>11</Id>
        <Name>Jupiler League</Name>
        <Country>Belgium</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1525</NumberOfMatches>
        <LatestMatch>2013-02-28T20:30:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>12</Id>
        <Name>Süper Lig</Name>
        <Country>Turkey</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1706</NumberOfMatches>
        <LatestMatch>2013-03-02T15:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>14</Id>
        <Name>Superliga</Name>
        <Country>Denmark</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>425</NumberOfMatches>
        <LatestMatch>2013-03-01T18:30:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>15</Id>
        <Name>EURO 2012</Name>
        <Country>Europe</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>False</Fixtures>
        <Livescore>False</Livescore>
        <NumberOfMatches>31</NumberOfMatches>
        <LatestMatch>2012-07-01T20:45:00+02:00</LatestMatch>
    </League>
    <League>
        <Id>16</Id>
        <Name>Champions League</Name>
        <Country>Europe</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>376</NumberOfMatches>
        <LatestMatch>2013-02-20T20:45:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>17</Id>
        <Name>Europe League</Name>
        <Country>Europe</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>864</NumberOfMatches>
        <LatestMatch>2013-02-21T21:05:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>18</Id>
        <Name>Primeira Liga</Name>
        <Country>Portugal</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>180</NumberOfMatches>
        <LatestMatch>2013-02-25T20:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>19</Id>
        <Name>Scottish First Division</Name>
        <Country>Scotland</Country>
        <Historical_Data>Yes</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1023</NumberOfMatches>
        <LatestMatch>2013-03-02T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>20</Id>
        <Name>Major League Soccer</Name>
        <Country>USA</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>0</NumberOfMatches>
        <LatestMatch>2013-01-01T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>33</Id>
        <Name>Allsvenskan</Name>
        <Country>Sweden</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>0</NumberOfMatches>
        <LatestMatch>2013-01-01T16:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>34</Id>
        <Name>FA Cup</Name>
        <Country>England</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>3</NumberOfMatches>
        <LatestMatch>2013-02-27T20:45:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>35</Id>
        <Name>League Cup</Name>
        <Country>England</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>1</NumberOfMatches>
        <LatestMatch>2013-02-24T17:00:00+01:00</LatestMatch>
    </League>
    <League>
        <Id>36</Id>
        <Name>Mexican Primera League</Name>
        <Country>Mexico</Country>
        <Historical_Data>Partial</Historical_Data>
        <Fixtures>Yes</Fixtures>
        <Livescore>Yes</Livescore>
        <NumberOfMatches>10</NumberOfMatches>
        <LatestMatch>2013-03-02T02:30:00+01:00</LatestMatch>
    </League>
    <AccountInformation>Data requested at 02-03-2013 21:02:09 from XX.XX.XX.XX, Username: Espectro. Your current supscription runs out on XX-XX-XXXX 11:01:25.</AccountInformation>
</XMLSOCCER.COM>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk