diff --git a/SteamStorefrontAPI/appdetails/Classes/SteamApp.cs b/SteamStorefrontAPI/appdetails/Classes/SteamApp.cs index 25536bb..c71ccdf 100644 --- a/SteamStorefrontAPI/appdetails/Classes/SteamApp.cs +++ b/SteamStorefrontAPI/appdetails/Classes/SteamApp.cs @@ -49,10 +49,10 @@ namespace SteamStorefrontAPI.Classes public PcRequirements PcRequirements { get; set; } [JsonProperty("mac_requirements")] - public List MacRequirements { get; set; } + public List MacRequirements { get; set; } [JsonProperty("linux_requirements")] - public List LinuxRequirements { get; set; } + public List LinuxRequirements { get; set; } [JsonProperty("legal_notice")] public string LegalNotice { get; set; } diff --git a/SteamStorefrontConsole/Program.cs b/SteamStorefrontConsole/Program.cs index b45b5ea..fd0f2e8 100644 --- a/SteamStorefrontConsole/Program.cs +++ b/SteamStorefrontConsole/Program.cs @@ -3,7 +3,6 @@ using SteamStorefrontAPI.Classes; using System; using System.Collections.Generic; using System.Linq; -using System.Net.Http; using System.Text; using System.Threading.Tasks; @@ -12,8 +11,6 @@ namespace SteamStorefrontConsole { class Program { - static HttpClient client = new HttpClient(); - static void Main(string[] args) { Task.Run(async () => await GetGame()).Wait(); @@ -24,7 +21,7 @@ namespace SteamStorefrontConsole { //var steamApp = Task.Run(async () => await AppDetails.GetAsync(637670)).Result; //var steamApp = Task.Run(async () => await AppDetails.GetAsync(443790)).Result; - var steamApp = Task.Run(async () => await AppDetails.GetAsync(213670)).Result; + var steamApp = await AppDetails.GetAsync(213670); Console.WriteLine(steamApp); }