calc_avg and bat_avg are both 0 since upgrading to version 4

We will try and answer Questions in this forum. If you are having any issues with iScore Baseball, this is probably the best place to start. You can also search historical posts here.
Post Reply
User avatar
KevinG
Posts: 10
Joined: Tue Apr 24, 2012 11:31 pm

calc_avg and bat_avg are both 0 since upgrading to version 4

Post by KevinG » Wed Apr 03, 2013 5:23 pm

We've upgraded to version 4, recalculated all previous games and exported but now the old and new batting average attributes from Get Cumulative Statistics and Get Detailed Player Statistics API calls are 0. They are fine in the Team Website, though. Is there something else we need to do on the device to get them to work?

I would also like to know what other attributes changed in the API. I would not have known that calc_avg was changed to bat_avg if another forum user hadn't let me know. I've tried looking for the changes on the site and in the forum but can't seem to find them.

Thanks,

Coach Kevin
Maltby Nomads
User avatar
FTMSupport
Site Admin
Posts: 13193
Joined: Sat Mar 28, 2009 7:25 pm

Re: calc_avg and bat_avg are both 0 since upgrading to version 4

Post by FTMSupport » Wed Apr 03, 2013 6:49 pm

Anything that was previously a "calc_" prefix is now either bat_, fld_, or pit_ for consistency. If you have done a Recalc and exported, the values should all be there. If you can email us the exact call you are making to support@iscoresports.com, we can take a look at your data to see what is going on.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Jasperbhouse
Posts: 46
Joined: Mon Aug 30, 2010 4:49 am

Re: calc_avg and bat_avg are both 0 since upgrading to version 4

Post by Jasperbhouse » Wed Apr 03, 2013 10:38 pm

Kevin,

Have a look at http://data.iscorecentral.com/legend.ph ... internal=1" onclick="window.open(this.href);return false; where all the new names are listed. Besides all calc_ prefixes some other have changed also.
User avatar
KevinG
Posts: 10
Joined: Tue Apr 24, 2012 11:31 pm

Re: calc_avg and bat_avg are both 0 since upgrading to version 4

Post by KevinG » Thu Apr 04, 2013 7:50 am

Jasper, thanks for the legend link! I wish it was published this way within the API documentation. I think I've got most of the Joomla code changed now and we're looking at the new stats to see which ones we want to publish. Wow, there's a lot of data in there!

Coach Kevin
Maltby Nomads
User avatar
KevinG
Posts: 10
Joined: Tue Apr 24, 2012 11:31 pm

Re: calc_avg and bat_avg are both 0 since upgrading to version 4

Post by KevinG » Wed Apr 24, 2013 2:23 pm

Installed the 4.09 update that amazon.com finally released on the Kindle, recalculated the stats, and it looks like all the computed and aggregate fields are now correct.

Thanks for all the help, everyone!

Coach Kevin
Maltby Nomads
Post Reply