2020-11-17 11:01:35 +01:00
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-07-19 13:04:31 +02:00
|
|
|
using WotBlitzStatisticsPro.Common.Model;
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Logic
|
|
|
|
|
{
|
|
|
|
|
public interface IWargamingAccounts
|
|
|
|
|
{
|
2020-09-30 19:30:36 +02:00
|
|
|
Task<AccountInfoResponse> GatherAccountInformation(RealmType realm, long accountId, RequestLanguage requestLanguage);
|
2020-10-25 19:05:08 +01:00
|
|
|
|
2021-06-04 23:04:03 +02:00
|
|
|
Task<DateTime> GatherAndSaveAccountInformation(RealmType realm, long accountId, RequestLanguage requestLanguage, string wargamingToken);
|
2020-11-17 11:01:35 +01:00
|
|
|
|
|
|
|
|
Task<AccountInfoHistoryResponse> GetAccountInfoHistory(RealmType realm, long accountId, DateTime startDate,
|
|
|
|
|
RequestLanguage requestLanguage);
|
2021-01-05 13:04:13 +01:00
|
|
|
|
|
|
|
|
Task<TankInfoHistoryResponse> GetTankInfoHistory(RealmType realm, long accountId, long tankId, DateTime startDate,
|
|
|
|
|
RequestLanguage requestLanguage);
|
2020-07-19 13:04:31 +02:00
|
|
|
}
|
|
|
|
|
}
|