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).
League Listing API is including deleted games
- 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: League Listing API is including deleted games
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
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
- CSThunderCoach
- Posts: 263
- Joined: Thu Mar 04, 2010 8:55 am
- Location: Colorado Springs, CO
Re: League Listing API is including deleted games
My leauges for 2012 are still picking up deleted games. I just did an export. Sending device id to support.
