Login

Username:


Password:


Remember me



Forgot Password?




 Merchandise




Stats page updated to latest API changes

Stats page updated to latest API changes

Postby Spack » Thu Feb 20, 2014 8:39 pm

Wargaming updated the API again on Tuesday, making a sweeping change to the achievements data. The stats page has been updated to use the new API calls and to test it prior to making the same changes to the signature code.

The stats page can be accessed at wot/stats.php
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: Stats page updated to latest API changes

Postby Spack » Thu Mar 06, 2014 4:01 pm

Signature updated to the new medal system too now.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: Stats page updated to latest API changes

Postby Spack » Wed Jun 11, 2014 8:41 pm

Stats updated again, this time to use only the new tanks data and not use any of the old tanks data. This has the advantage of more data for each vehicle, and fixes issues with the old data getting confused with vehicle changes; for instance, the change of the Pz IV to the Pz IV Ausf H in 9.0 caused the old API data to show the Ausf H as a used tank when a player had only had the old Pz IV. However, it does cause another issue in that for some players the total battle stats from adding up all the vehicle data doesn't match the overall account summary - this is a known issue that WG are working on according to the developer forum. There is also a glitch with the NA player vehicle data in that the "in_garage" flag isn't currently working - again, this is apparently going to be fixed in the near future.

The WN8 efficiency calculation has been adjusted to use the vehicle data, so may for a short time be slightly different than the value shown by the signature image. For instance today my signature will show 1227 when it updates, but the stats page will show 1225. Once I'm happy that the stats code is stable the changes will be carried over to the signature generator.

Also I've added Kills as a table value for the tables, and if you hover over any vehicle name in the tables you should see a popup with each individual vehicle stat displayed.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: Stats page updated to latest API changes

Postby Spack » Tue Jun 24, 2014 9:20 pm

Stats page update again. Unfortunately the "in_garage" flag is now disabled as Wargaming.net decided it could be used by clans to work out which tanks were locked out of battles.

The new stats page looks the same, but it has a lot more information. Click on any tank icon to see detailed statistics about that tank, with percentages based on the recent / overall totals as applicable. Also now has Max Damage per battle with vehicle name, Max Frags per battle with vehicle now, and Max XP with vehicle name.

There is still an outstanding bug in the Wargaming API that has not been fixed where some tanks have the wrong stats, but they have posted recently that they are working on fixing it.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: Stats page updated to latest API changes

Postby Spack » Thu Jul 31, 2014 8:10 pm

Another update. Seems that the 9.2 game release may have finally fixed the battle totals being out in the API. The stats page now has more details available on each medal in a popup when the medal image is clicked, and the same goes for vehicles by clicking their image in the lists. WN8 details for each tank are displayed in the popup, with a percentage value showing whether your stats are above or below the WN8 "expected" values for that vehicle.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6815
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)




Return to World of Tanks




 Social Links