Follow

Worked examples of the Servasport Fixtures and Results Feed


Here are some examples to help you get the most out of the XML Feed

 

Club Fixtures and Results

 

  • To display all fixtures & results, at all levels for a Club specify the following parameters;

clubID=****

  • To display fixtures only;

clubID=****&fixturesOnly=Y

  • To display results only:

clubID=****&resultsOnly=Y

  • To then filter the fixtures to show only senior fixtures;

clubID=1234&fixturesOnly=Y&compLevel=Senior

  • To display all Senior club fixtures at County level;

countyBoardID=1234&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&includeSchoolGames=N

  • To Display all Senior club fixtures at provincial level;

provinceName=Ulster&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&includeSchoolGames=N

  • To display only the Senior provincial fixtures for a particular club;

provinceName=Ulster&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&includeSchoolGames=N&clubID=****

  • To display all Senior club fixtures at National level;

compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&compLevel=Senior&includeProvincialGames=N&includeSchoolGames=N

  • To display a specific fixture for a senior team that has a date;

clubID=****&compLevel=Senior&dateFrom=20110722&dateTo=20110723&fixturesOnly= Y

or

uniqueID=42415 (Get the result/Fixture for the specific game)

  • To display the League table for a competition;

compID=@@@@&leagueTableOnly=Y

 

 

County

 

  • To display all the club fixtures within your county;

countyBoardID=####&includeSchoolGames=N&includeCollegeGames=N&fixturesOnly=Y

  • To then wanted to filter those fixtures to show only minor games;

countyBoardID=####&includeSchoolGames=N&includeCollegeGames=N&compLevel=Minor&fixturesOnly= Y

  • To display all the fixtures the county team is competing in, within their province;

provinceName=Ulster&clubID=**** (with the id being the county ID)

  • To display all the games in a competition which your county is competing in at a provincial level

provinceName=Ulster&includeSchoolGames=N&includeClubGames=N&includeCollegeGames=N&includeCountyGames=N&fixturesOnly=Y

  • To show all the games in a competition which your county is competing in at a National level

includeSchoolGames=N & includeClubGames=N&includeCollegeGames=N&includeProvincialGames=N&fixturesOnly=Y

  • To display all the games your senior county team is competing in, in all competitions;

clubID=****&compLevel=Senior

  • To display all the fixtures for a specific competition;

compID=@@@@

 

 

Province

 

  • To display all Senior club fixtures in a province;

provinceName= Ulster&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&includeSchoolGames =N

  • To filter those results for a particular county;

provinceName=Ulster&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeCountyGames=N&includeSchoolGames=N&countyBoardID=####

  • To show all Senior county games in a province;

provinceName=Ulster&compLevel=Senior&includeCollegeGames=N&fixturesOnly=Y&includeClubGames=N&includeSchoolGames=N&includeCountyGames=N

  • To show all Senior County games at a National Level;

compLevel=Senior & includeCollegeGames =N & fixturesOnly= Y & includeClubGames=N & includeSchoolGames =N & includeClubGames=N & includeCountyGames=N & includeProvincialGames =N

  •  To Display all fixtures for a specific competition in your province;

compID=@@@@

 

Key

####

This denotes a county board ID, each county in Ireland will have a different ID. If you contact Servasport directly we can provide you with the ID you require

 

@@@@

This denotes a competition ID, each competition will have a unique competition ID that will change every year. If you liaise with your county board or contact Servasport directly you can obtain this ID.

 

****

This denotes a Club ID, each club in Ireland will have a different ID. If you liaise with your county board or contact Servasport directly you can obtain this ID.

 

NOTE: All XML codes must be prefixed with "http://people.gaa.ie/api/fixtures/xml?"

Was this article helpful?
1 out of 2 found this helpful
Have more questions? Submit a request

Comments