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
API League/Game Enhancement
- CSThunderCoach
- Posts: 263
- Joined: Thu Mar 04, 2010 8:55 am
- Location: Colorado Springs, CO
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: API League/Game Enhancement
You can pass a lg= filter to the games.php call to get just games in a certain league or a comma separated list of leagues to get the games for a subset of leagues.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
