today found new method (maybe not :) ) to get slice on player stats:

http://api.worldoftanks.ru/2.0/stats...09-01T00:00:00 Old one (two) was stats/accountbytime/ and stats/accountbydate. This looks like new: stats/account2bydate
Required params:
application_id
account_id
from_date -- format "yyyy-MM-dd"+"T"+"HH:mm:ss"
Optional:
to_date -- format "yyyy-MM-dd"+"T"+"HH:mm:ss"
interval -- integer

public void addRequestParams(List paramList)
{
SimpleDateFormat localSimpleDateFormat1 = new SimpleDateFormat("yyyy-MM-dd");
SimpleDateFormat localSimpleDateFormat2 = new SimpleDateFormat("HH:mm:ss");
paramList.add(new BasicNameValuePair("account_id", String.valueOf(this.mAccountId)));
paramList.add(new BasicNameValuePair("from_date", localSimpleDateFormat1.format(this.mFromDate) + "T" + localSimpleDateFormat2.format(this.mFromDate)));
if (this.mIntervals != null)
paramList.add(new BasicNameValuePair("interval", String.valueOf(this.mIntervals)));
if (this.mToDate != null)
paramList.add(new BasicNameValuePair("to_date", localSimpleDateFormat1.format(this.mToDate) + "T" + localSimpleDateFormat2.format(this.mToDate)));
}
Discovered new methods to get player stats slice written by thunder in WOT API.
Tags: wot, api, slice, stats.



More...