2020-02-15 16:00:42 +03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-05-23 11:43:14 +02:00
|
|
|
using WotBlitzStatisticsPro.Common.Model;
|
2020-02-15 16:00:42 +03:00
|
|
|
using WotBlitzStatisticsPro.WgApiClient.Model;
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.WgApiClient
|
|
|
|
|
{
|
|
|
|
|
public interface IWargamingApiClient
|
|
|
|
|
{
|
2020-12-27 12:39:25 +01:00
|
|
|
Task<List<WotAccountListResponse>?> FindAccounts(string nickName,
|
2020-02-15 16:00:42 +03:00
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
|
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
Task<List<WotClanListResponse>?> FindClans(string searchString,
|
2020-05-19 14:22:47 +02:00
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
|
|
|
|
|
2021-05-12 16:30:23 +02:00
|
|
|
Task<List<WotAccountInfo>?> GetShortPlayerAccountsInfo(long[] accountIds,
|
|
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En,
|
|
|
|
|
string? authenticationToken = null);
|
|
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
Task<WotAccountInfo?> GetPlayerAccountInfo(long accountId,
|
2020-02-15 16:00:42 +03:00
|
|
|
RealmType realmType = RealmType.Ru,
|
2021-04-02 17:27:11 +02:00
|
|
|
RequestLanguage language = RequestLanguage.En,
|
|
|
|
|
string? authenticationToken = null);
|
2020-02-25 00:46:02 +03:00
|
|
|
|
2021-05-12 16:30:23 +02:00
|
|
|
Task<List<ClanAccountInfo>?> GetBulkPlayerClans(long[] accountIds,
|
|
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
|
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
Task<ClanAccountInfo?> GetPlayerClanInfo(long accountId,
|
2020-02-25 00:46:02 +03:00
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
2020-03-06 17:33:40 +01:00
|
|
|
|
2021-05-12 16:30:23 +02:00
|
|
|
Task<List<ClanInfo>?> GetShortClansInfo(long[] clanIds,
|
|
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
|
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
Task<ClanInfo?> GetClanInfo(long clanId,
|
2020-03-06 17:33:40 +01:00
|
|
|
RealmType realmType = RealmType.Ru,
|
|
|
|
|
RequestLanguage language = RequestLanguage.En);
|
2020-02-15 16:00:42 +03:00
|
|
|
}
|
|
|
|
|
}
|