mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 03:40:07 +02:00
feat: Logun url query implementation
This commit is contained in:
1 parent
806268df48
commit
11486b7303
6 files changed
+67
-3
No files matched your search
@@ -12,7 +12,8 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
public class WargamingApiClient : WagramingApiClientBase,
|
||||
IWargamingApiClient,
|
||||
IWargamingDictionariesApiClient,
|
||||
IWargamingTanksApiClient
|
||||
IWargamingTanksApiClient,
|
||||
IWargamingAuthenticationClient
|
||||
{
|
||||
public WargamingApiClient(
|
||||
HttpClient httpClient,
|
||||
@@ -206,6 +207,13 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
$"account_id={accountId}").ConfigureAwait(false);
|
||||
return tanks?[accountId.ToString()] ?? new List<WotAccountTanksStatistics>();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Authentication
|
||||
public string LoginUrl(RealmType realm)
|
||||
{
|
||||
return GetWotUri(realm, "auth/login/", null);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user