League Listing API is including deleted games

If you are having an issue with iScore Baseball, please post it here and we will try and find solutions so everybody will be aware of them.
Post Reply
User avatar
CSThunderCoach
Posts: 263
Joined: Thu Mar 04, 2010 8:55 am
Location: Colorado Springs, CO

League Listing API is including deleted games

Post by CSThunderCoach » Wed May 09, 2012 10:43 am

Not sure if this is by design or not, but the League Listing API
"http://api.iscoresports.com/teamwebsite/leagues.php" reports all games for a particular league (even if the game has been deleted.)

The Game Listing API "http://api.iscoresports.com/teamwebsite/games.php" when filtered by league, using the "lg" parameter, does not include the deleted games in the results.

Make sure to perform the database maintenance from the Admin site before trying to match number of games reported in the league listing to the games reported in the game listing (when filtered by league).
User avatar
FTMSupport
Site Admin
Posts: 13193
Joined: Sat Mar 28, 2009 7:25 pm

Re: League Listing API is including deleted games

Post by FTMSupport » Wed May 09, 2012 11:35 am

This has now been fixed so the leagues.php call does not count deleted games. You may need to do an Export from your device to clear the cached API calls (we cache the results for calls and clear the cache each time you export).
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
User avatar
CSThunderCoach
Posts: 263
Joined: Thu Mar 04, 2010 8:55 am
Location: Colorado Springs, CO

Re: League Listing API is including deleted games

Post by CSThunderCoach » Wed May 23, 2012 6:59 pm

My leauges for 2012 are still picking up deleted games. I just did an export. Sending device id to support.
Post Reply