mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 20:00:05 +02:00
Vehicles dictionary updater
This commit is contained in:
1 parent
6a9b69b254
commit
4a11ed61df
11 files changed
+525
-4
No files matched your search
@@ -76,6 +76,16 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
return response.Values.ToList();
|
||||
}
|
||||
|
||||
public async Task<List<WotEncyclopediaVehiclesResponse>> GetVehicles(RealmType realmType = RealmType.Ru, RequestLanguage language = RequestLanguage.En)
|
||||
{
|
||||
var response = await GetFromBlitzApi<Dictionary<string, WotEncyclopediaVehiclesResponse>>(
|
||||
realmType,
|
||||
language,
|
||||
"encyclopedia/vehicles/").ConfigureAwait(false);
|
||||
|
||||
return response.Values.ToList();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user