League. GetTeams gives back all the teams in the database for some league_ids. The league_ids I found that are giving all 12000ish teams back are: 288 - Copa America 509 - Copa Caribe (N/C America) 174 - Liga Pokal (Germany) 464 - Pre-Libertadores (Mexico) 300 - Super Cup (Slovakia) 575 - Super Cup (Greece)
It appears that paging on the league. GetFixtures feed is not working correctly.
When retrieving fixtures for the Premiership[8] the fixtures element has the attribute 'hasMorePages' set to true and a 'nextPage' attribute set to 2, however if I add '&page=2' to the request the same data is retrieved. I am not sure if this is a recent bug or something that has been there a while. As paging is not documented in the API overview for this feed it maybe that I am simply using the wrong querystring parameter to indicate which page to retrieve.
The resulting xml tells me it has more pages of data <fixtures hasMorePages="true" nextPage="2">
My code alters the url to retrieve the 'nextPage' value. Page 2 then returns the same data as page 1 and more importantly has the same values in the fixtures node as above. My code reads the fixtures nodes again, believes there to be more data and again tries to retrieve the nextPage attribute value (page 2). This puts me in an infinite loop which is bad for all since I never finish my retrieval and your servers keep getting spammed by me.
So far this has only happened for the Irish Div 1 but I will update if I notice the same thing with any other divisions.
Don't worry if this is too small an issue for you guys to worry about with the prem fast approaching, I'm sure i'll manage without irish div 1 fixtures
Regards John
Update: league_id's currently affected 77 - Irish Div 1 430 - World Friendlies