mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-26 11:50:05 +01:00
feat: realm added. Plus clans bug fixed
This commit is contained in:
1 parent
68faee2d23
commit
3c67595d94
7 files changed
+66
-26
No files matched your search
@@ -163,6 +163,10 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
public async Task<List<ClanAccountInfo>?> GetBulkPlayerClans(long[] accountIds, RealmType realmType = RealmType.Ru,
|
||||
RequestLanguage language = RequestLanguage.En)
|
||||
{
|
||||
if (accountIds.Length == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
var clanInfo = await GetFromBlitzApi<Dictionary<string, ClanAccountInfo>>(
|
||||
realmType,
|
||||
language,
|
||||
@@ -174,6 +178,10 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
public async Task<List<ClanInfo>?> GetShortClansInfo(long[] clanIds, RealmType realmType = RealmType.Ru,
|
||||
RequestLanguage language = RequestLanguage.En)
|
||||
{
|
||||
if (clanIds.Length == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
var clanInfo = await GetFromBlitzApi<Dictionary<string, ClanInfo>>(
|
||||
realmType,
|
||||
language,
|
||||
|
||||
Reference in new issue
Block a user