API League/Game Enhancement
Posted: Wed May 23, 2012 12:19 pm
Could you modify the leagues.php and games.php to include game and league information respectively.
Looking for something like this:
<LEAGUES ...>
<LEAGUE gameCount="3" guid="..." ...>
<GAME guid="...">
<GAME guid="...">
<GAME guid="...">
</LEAGUE>
</LEAGUES>
and
<TEAM guid="..." ...>
<GAME guid="..." ...>
<LEAGUE guid="..." ... >
<LEAGUE guid="..." ... >
</GAME>
</TEAM>
OR provide a "&games=" filter on the leagues.php API call. I am trying to find the games that are not associated to the correct leagues. I can get all the leagues and get all the games, but I can only cross reference one way (by passing league GUID to games.php.
I would like to pass a game GUID to leagues.php and get the list of leagues that game belongs to.
Thanks
Looking for something like this:
<LEAGUES ...>
<LEAGUE gameCount="3" guid="..." ...>
<GAME guid="...">
<GAME guid="...">
<GAME guid="...">
</LEAGUE>
</LEAGUES>
and
<TEAM guid="..." ...>
<GAME guid="..." ...>
<LEAGUE guid="..." ... >
<LEAGUE guid="..." ... >
</GAME>
</TEAM>
OR provide a "&games=" filter on the leagues.php API call. I am trying to find the games that are not associated to the correct leagues. I can get all the leagues and get all the games, but I can only cross reference one way (by passing league GUID to games.php.
I would like to pass a game GUID to leagues.php and get the list of leagues that game belongs to.
Thanks