JSON Data Web Services

JSON Data Web Services Specification 1.1

1 - GET SEASONS FOR LEAGUE

Return a list of seasons for a league. This will be your starting point, just replace the leagueID with your leagueID you have been given after signing up.

Example URL

http://api.leaguerepublic.com/l/json/getSeasonsForLeague/20018712.json - where the LeagueID is 20018712

This corresponds to the drop down of seasons on this page: http://jsondemoleague.leaguerepublic.com/l/fg/1_800315353.html

Notes

  1. Return a list of seasons for a league. This will be your starting point, just replace the leagueID with your leagueID you have been given after signing up.
[
   {
      "currentSeason":true,
      "seasonEndDate":"20140622 23:59",
      "seasonEndDateInMilliseconds":1403477940000,
      "seasonID":881298762,
      "seasonName":"2014",
      "seasonStartDate":"20131201 00:00",
      "seasonStartDateInMilliseconds":1385856000000 
   }
]				
Back to Web Service List

2 - GET FIXTURE GROUPS FOR SEASON

Returns a list of fixture groups for a season where a fixture group is 1 - a division, 2 - a cup, 4 - an other fixture group.

Example URL

http://api.leaguerepublic.com/l/json/getFixtureGroupsForSeason/881298762.json - where the SeasonID is 881298762

Returns a list of fixture groups for a season where a fixture group is 1 - a division, 2 - a cup, 4 - an other fixture group.: http://jsondemoleague.leaguerepublic.com/l/fg/1_800315353.html

[
   {
      "fixtureGroupDesc":"Division A",
      "fixtureGroupIdentifier":800315353,
      "fixtureTypeDesc":"Division",
      "fixtureTypeID":1
   },
   {
      "fixtureGroupDesc":"Division B",
      "fixtureGroupIdentifier":929624687,
      "fixtureTypeDesc":"Division",
      "fixtureTypeID":1
   },
   {
      "fixtureGroupDesc":"Group Stage Cup",
      "fixtureGroupIdentifier":592916925,
      "fixtureTypeDesc":"Competition",
      "fixtureTypeID":2
   },
   {
      "fixtureGroupDesc":"Friendlies",
      "fixtureGroupIdentifier":310961118,
      "fixtureTypeDesc":"Other Fixture Group",
      "fixtureTypeID":4
   }
]
Back to Web Service List

3 - GET STANDINGS FOR FIXTURE GROUP

Returns the division standings / table. It actually returns a list of standings to accommodate a group stage cup.

Example URL 1

http://api.leaguerepublic.com/l/json/getStandingsForFixtureGroup/1/800315353.json - where the FixtureTypeID is 1 and the FixtureGroupID is 800315353

This corresponds to the division standings here: http://jsondemoleague.leaguerepublic.com/l/standingsForDate/800315353/2/-1/-1.html

Example 1

[
   {
      "standingsDesc":"Division A",
      "standingsLines":[
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":0,
            "homeRecentForm":"",
            "homeScoreAgainst":0.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":0.0,
            "homeTied":0,
            "homeWon":0,
            "overallLoss":0,
            "overallPlayed":1,
            "overallScoreAgainst":0.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":3.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":0,
            "overallWinPercentage":1.0,
            "overallWon":1,
            "points":3.0,
            "position":"1",
            "recentForm":"W",
            "roadLoss":0,
            "roadPlayed":1,
            "roadRecentForm":"W",
            "roadScoreAgainst":0.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":1,
            "scoreDifference":3.0,
            "teamID":833875775,
            "teamName":"Team A"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"D",
            "homeScoreAgainst":1.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":1.0,
            "homeTied":1,
            "homeWon":0,
            "overallLoss":0,
            "overallPlayed":1,
            "overallScoreAgainst":1.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":1.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.5,
            "overallWon":0,
            "points":1.0,
            "position":"2",
            "recentForm":"D",
            "roadLoss":0,
            "roadPlayed":0,
            "roadRecentForm":"",
            "roadScoreAgainst":0.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":0,
            "scoreDifference":0.0,
            "teamID":732939933,
            "teamName":"Team B"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":0,
            "homeRecentForm":"",
            "homeScoreAgainst":0.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":0.0,
            "homeTied":0,
            "homeWon":0,
            "overallLoss":0,
            "overallPlayed":1,
            "overallScoreAgainst":1.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":1.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.5,
            "overallWon":0,
            "points":1.0,
            "position":"3",
            "recentForm":"D",
            "roadLoss":0,
            "roadPlayed":1,
            "roadRecentForm":"D",
            "roadScoreAgainst":1.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":1,
            "roadWon":0,
            "scoreDifference":0.0,
            "teamID":435604338,
            "teamName":"Team C"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":1,
            "homePlayed":1,
            "homeRecentForm":"L",
            "homeScoreAgainst":3.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":0.0,
            "homeTied":0,
            "homeWon":0,
            "overallLoss":1,
            "overallPlayed":1,
            "overallScoreAgainst":3.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":0.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":0,
            "overallWinPercentage":0.0,
            "overallWon":0,
            "points":0.0,
            "position":"4",
            "recentForm":"L",
            "roadLoss":0,
            "roadPlayed":0,
            "roadRecentForm":"",
            "roadScoreAgainst":0.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":0,
            "scoreDifference":-3.0,
            "teamID":111656828,
            "teamName":"Team D"
         }
      ]
   }
]

Example URL 2

http://api.leaguerepublic.com/l/json/getStandingsForFixtureGroup/2/592916925.json - where the FixtureTypeID is 2 and the FixtureGroupID is 592916925

This corresponds to the division standings here for the 2 groups, click on the groups tab: http://jsondemoleague.leaguerepublic.com/l/fg/2_592916925.html

Example 2

[
   {
      "standingsDesc":"1-1 Group A",
      "standingsLines":[
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"W",
            "homeScoreAgainst":0.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":2.0,
            "homeTied":0,
            "homeWon":1,
            "overallLoss":0,
            "overallPlayed":2,
            "overallScoreAgainst":1.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":3.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.75,
            "overallWon":1,
            "points":4.0,
            "position":"1",
            "recentForm":"WD",
            "roadLoss":0,
            "roadPlayed":1,
            "roadRecentForm":"D",
            "roadScoreAgainst":1.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":1,
            "roadWon":0,
            "scoreDifference":2.0,
            "teamID":833875775,
            "teamName":"Team A"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"D",
            "homeScoreAgainst":1.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":1.0,
            "homeTied":1,
            "homeWon":0,
            "overallLoss":0,
            "overallPlayed":2,
            "overallScoreAgainst":2.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":2.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":2,
            "overallWinPercentage":0.5,
            "overallWon":0,
            "points":2.0,
            "position":"2",
            "recentForm":"DD",
            "roadLoss":0,
            "roadPlayed":1,
            "roadRecentForm":"D",
            "roadScoreAgainst":1.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":1,
            "roadWon":0,
            "scoreDifference":0.0,
            "teamID":435604338,
            "teamName":"Team C"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"D",
            "homeScoreAgainst":1.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":1.0,
            "homeTied":1,
            "homeWon":0,
            "overallLoss":1,
            "overallPlayed":2,
            "overallScoreAgainst":3.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":1.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.25,
            "overallWon":0,
            "points":1.0,
            "position":"3",
            "recentForm":"LD",
            "roadLoss":1,
            "roadPlayed":1,
            "roadRecentForm":"L",
            "roadScoreAgainst":2.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":0,
            "scoreDifference":-2.0,
            "teamID":111656828,
            "teamName":"Team D"
         }
      ]
   },
   {
      "standingsDesc":"1-2 Group B",
      "standingsLines":[
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"W",
            "homeScoreAgainst":0.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":1.0,
            "homeTied":0,
            "homeWon":1,
            "overallLoss":0,
            "overallPlayed":2,
            "overallScoreAgainst":3.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":4.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.75,
            "overallWon":1,
            "points":4.0,
            "position":"1",
            "recentForm":"DW",
            "roadLoss":0,
            "roadPlayed":1,
            "roadRecentForm":"D",
            "roadScoreAgainst":3.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":1,
            "roadWon":0,
            "scoreDifference":1.0,
            "teamID":566436974,
            "teamName":"Team G"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"W",
            "homeScoreAgainst":0.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":1.0,
            "homeTied":0,
            "homeWon":1,
            "overallLoss":1,
            "overallPlayed":2,
            "overallScoreAgainst":1.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":1.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":0,
            "overallWinPercentage":0.5,
            "overallWon":1,
            "points":3.0,
            "position":"2",
            "recentForm":"WL",
            "roadLoss":1,
            "roadPlayed":1,
            "roadRecentForm":"L",
            "roadScoreAgainst":1.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":0,
            "scoreDifference":0.0,
            "teamID":732939933,
            "teamName":"Team B"
         },
         {
            "adjustmentMade":null,
            "bonusPoints":0.0,
            "homeLoss":0,
            "homePlayed":1,
            "homeRecentForm":"D",
            "homeScoreAgainst":3.0,
            "homeScoreAgainstLevel2":0.0,
            "homeScoreAgainstLevel3":0.0,
            "homeScoreFor":3.0,
            "homeTied":1,
            "homeWon":0,
            "overallLoss":1,
            "overallPlayed":2,
            "overallScoreAgainst":4.0,
            "overallScoreAgainstLevel2":0.0,
            "overallScoreAgainstLevel3":0.0,
            "overallScoreFor":3.0,
            "overallScoreForLevel2":0.0,
            "overallScoreForLevel3":0.0,
            "overallTied":1,
            "overallWinPercentage":0.25,
            "overallWon":0,
            "points":1.0,
            "position":"3",
            "recentForm":"LD",
            "roadLoss":1,
            "roadPlayed":1,
            "roadRecentForm":"L",
            "roadScoreAgainst":1.0,
            "roadScoreAgainstLevel2":0.0,
            "roadScoreAgainstLevel3":0.0,
            "roadTied":0,
            "roadWon":0,
            "scoreDifference":-1.0,
            "teamID":360382847,
            "teamName":"Team F"
         }
      ]
   }
]
Back to Web Service List

4 - GET FIXTURES FOR FIXTURE GROUP

Returns the fixtures (matches) for a fixture group.

Example URL

http://api.leaguerepublic.com/l/json/getFixturesForFixtureGroup/1/800315353.json - where the FixtureTypeID is 1 and the FixtureGroupID is 800315353

This corresponds to the fixtures on here:
http://jsondemoleague.leaguerepublic.com/l/matches/881298762/1_800315353/-1/-1/-1.html

And the results on here:
http://jsondemoleague.leaguerepublic.com/l/results/881298762/1_800315353/-1/-1.html

[
   {
      "additionalScore":null,
      "fixtureDate":"20131201 10:00",
      "fixtureDateInMilliseconds":1385892000000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214510,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":"1",
      "homeScoreNote":null,
      "homeTeamName":"Team B",
      "noResultOutcome":false,
      "result":true,
      "roadScore":"1",
      "roadScoreNote":null,
      "roadTeamName":"Team C",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"B"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131201 10:00",
      "fixtureDateInMilliseconds":1385892000000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214509,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":"0",
      "homeScoreNote":null,
      "homeTeamName":"Team D",
      "noResultOutcome":false,
      "result":true,
      "roadScore":"3",
      "roadScoreNote":null,
      "roadTeamName":"Team A",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"D"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131208 10:00",
      "fixtureDateInMilliseconds":1386496800000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214511,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team A",
      "noResultOutcome":false,
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team C",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"A"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131208 10:00",
      "fixtureDateInMilliseconds":1386496800000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214512,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team D",
      "noResultOutcome":false,
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team B",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"D"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131215 10:00",
      "fixtureDateInMilliseconds":1387101600000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214513,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team B",
      "noResultOutcome":false,
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team A",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"B"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131215 10:00",
      "fixtureDateInMilliseconds":1387101600000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214514,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team C",
      "noResultOutcome":false,
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team D",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"C"
   }
]	
Back to Web Service List

5 - GET FIXTURES FOR FIXTURE GROUP WITH OFFICIAL ASSIGNMENTS

Returns the fixtures (matches) for a fixture group including the officials (referees / umpires) that have been assigned.

Example URL

http://api.leaguerepublic.com/l/json/getFixturesForFixtureGroupIncludingOfficialAssignments/1/800315353.json - where the FixtureTypeID is 1 and the FixtureGroupID is 800315353

This corresponds to the fixtures on here: http://jsondemoleague.leaguerepublic.com/l/referees/881298762/1_800315353/-1/-1.html

[
   {
      "additionalScore":null,
      "fixtureDate":"20131201 10:00",
      "fixtureDateInMilliseconds":1385892000000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214510,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team B",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref1",
            "lastName":"1ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team C",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"B"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131201 10:00",
      "fixtureDateInMilliseconds":1385892000000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214509,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team D",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref2",
            "lastName":"2ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team A",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"D"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131208 10:00",
      "fixtureDateInMilliseconds":1386496800000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214511,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team A",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref3",
            "lastName":"3ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team C",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"A"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131208 10:00",
      "fixtureDateInMilliseconds":1386496800000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214512,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team D",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref4",
            "lastName":"4ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team B",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"D"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131215 10:00",
      "fixtureDateInMilliseconds":1387101600000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214513,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team B",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref1",
            "lastName":"1ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team A",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"B"
   },
   {
      "additionalScore":null,
      "fixtureDate":"20131215 10:00",
      "fixtureDateInMilliseconds":1387101600000,
      "fixtureDateStatusDesc":"Normal / Scheduled",
      "fixtureDateStatusID":1,
      "fixtureID":16214514,
      "fixtureNote":null,
      "fixtureStatus":0,
      "fixtureStatusDesc":"Normal",
      "homeScore":null,
      "homeScoreNote":null,
      "homeTeamName":"Team C",
      "noResultOutcome":false,
      "officialAssignments":[
         {
            "firstName":"ref2",
            "lastName":"2ref",
            "officialPositionID":1
         }
      ],
      "result":false,
      "roadScore":null,
      "roadScoreNote":null,
      "roadTeamName":"Team D",
      "roundDesc":null,
      "shortCode":"L",
      "venueAndSubVenueDesc":"C"
   }
]		
Back to Web Service List

6 - GET FULL FIXTURE DETAILS

Returns the full details for a fixture.

Example URL

http://api.leaguerepublic.com/l/json/getFullFixtureDetails/16214509.json where the FixtureID is 16214509

This corresponds to the fixtures on here: http://jsondemoleague.leaguerepublic.com/l/match/16214509.html

Notes

  1. AvailableHomePlayers and AvailableRoadPlayers will only show if the fixture does not have a result.
  2. GameFormats correspond to leagues with multiple games per match e.g. darts and pool.
[
	{
	   "availableHomePlayers":null,
	   "availableRoadPlayers":null,
	   "fixture":{
	      "additionalScore":null,
	      "fixtureDate":"20131201 10:00",
	      "fixtureDateInMilliseconds":1385892000000,
	      "fixtureDateStatusDesc":"Normal / Scheduled",
	      "fixtureDateStatusID":1,
	      "fixtureID":16214509,
	      "fixtureNote":null,
	      "fixtureStatus":0,
	      "fixtureStatusDesc":"Normal",
	      "homeScore":"0",
	      "homeScoreNote":null,
	      "homeTeamName":"Team D",
	      "noResultOutcome":false,
	      "officialAssignments":null,
	      "result":true,
	      "roadScore":"3",
	      "roadScoreNote":null,
	      "roadTeamName":"Team A",
	      "roundDesc":null,
	      "shortCode":"L",
	      "venueAndSubVenueDesc":"D"
	   },
	   "gameFormat":null,
	   "homeLeagueGameTypes":null,
	   "homeLeagueStatTypes":null,
	   "roadLeagueGameTypes":null,
	   "roadLeagueStatTypes":[
	      {
	         "leagueStatTypeName":"Goals",
	         "statistics":[
	            {
	               "firstName":"player1",
	               "lastName":"1",
	               "statisticValue":"2"
	            },
	            {
	               "firstName":"player2",
	               "lastName":"2",
	               "statisticValue":"1"
	            }
	         ]
	      },
	      {
	         "leagueStatTypeName":"Red Cards",
	         "statistics":[
	            {
	               "firstName":"player3",
	               "lastName":"3",
	               "statisticValue":"1"
	            }
	         ]
	      },
	      {
	         "leagueStatTypeName":"Yellow Cards",
	         "statistics":[
	            {
	               "firstName":"player3",
	               "lastName":"3",
	               "statisticValue":"2"
	            },
	            {
	               "firstName":"player1",
	               "lastName":"1",
	               "statisticValue":"1"
	            },
	            {
	               "firstName":"player2",
	               "lastName":"2",
	               "statisticValue":"1"
	            }
	         ]
	      }
	   ],
	   "venue":{
	      "contactPhoneNumber":null,
	      "venueAddr1":null,
	      "venueAddr2":null,
	      "venueAddr3":null,
	      "venueCity":null,
	      "venueCounty":null,
	      "venueDir":null,
	      "venueName":"D",
	      "venueState":null,
	      "venueZipOrPostCode":null
	   }
	}
]
Back to Web Service List

7 - GET TEAMS FOR FIXTURE GROUP

Returns a list of teams for a fixture group.

Example URL

http://api.leaguerepublic.com/l/json/getTeamsForFixtureGroup/1/800315353.json - where the FixtureTypeID is 1 and the FixtureGroupID is 800315353

This corresponds to the teams on this page: http://jsondemoleague.leaguerepublic.com/l/standingsForDate/800315353/2/-1/-1.html

[
   {
      "teamID":833875775,
      "teamName":"Team A"
   },
   {
      "teamID":732939933,
      "teamName":"Team B"
   },
   {
      "teamID":435604338,
      "teamName":"Team C"
   },
   {
      "teamID":111656828,
      "teamName":"Team D"
   }
]
Back to Web Service List

8 - GET STATISTICS SUMMARY FOR TEAM

Returns a list of statistics for a team in one season.

Example URL

http://api.leaguerepublic.com/l/json/getStatisticSummaryForTeam/881298762/833875775.json - where the SeasonID is 881298762 and the TeamID is 833875775

This corresponds to the statistics on here: http://jsondemoleague.leaguerepublic.com/l/playerStatsForTeam/881298762/833875775.html

[
	{
	   "listCumulativePersonStatSummary":[
	      {
	         "firstName":"player3",
	         "lastName":"3",
	         "leagueStatTypeID":132538602,
	         "numberEntered":1,
	         "personID":638147816,
	         "statTypeName":"Red Cards",
	         "statTypeValue":"1"
	      },
	      {
	         "firstName":"player1",
	         "lastName":"1",
	         "leagueStatTypeID":134164425,
	         "numberEntered":1,
	         "personID":211559293,
	         "statTypeName":"Goals",
	         "statTypeValue":"2"
	      },
	      {
	         "firstName":"player2",
	         "lastName":"2",
	         "leagueStatTypeID":134164425,
	         "numberEntered":1,
	         "personID":389741166,
	         "statTypeName":"Goals",
	         "statTypeValue":"1"
	      },
	      {
	         "firstName":"player1",
	         "lastName":"1",
	         "leagueStatTypeID":211700283,
	         "numberEntered":1,
	         "personID":211559293,
	         "statTypeName":"Yellow Cards",
	         "statTypeValue":"1"
	      },
	      {
	         "firstName":"player2",
	         "lastName":"2",
	         "leagueStatTypeID":211700283,
	         "numberEntered":1,
	         "personID":389741166,
	         "statTypeName":"Yellow Cards",
	         "statTypeValue":"1"
	      },
	      {
	         "firstName":"player3",
	         "lastName":"3",
	         "leagueStatTypeID":211700283,
	         "numberEntered":1,
	         "personID":638147816,
	         "statTypeName":"Yellow Cards",
	         "statTypeValue":"2"
	      }
	   ]
	}
]	
Back to Web Service List

JSON Help

If you need help with using the JSON Web Services then view our frequently asked questions for more information about them and how to use them...

League FAQs