Fixed typo.

This commit is contained in:
mmuffins 2018-05-22 22:57:32 +02:00
parent dbe45057ae
commit 6f2eef8792
2 changed files with 3 additions and 6 deletions

View File

@ -49,10 +49,10 @@ namespace SteamStorefrontAPI.Classes
public PcRequirements PcRequirements { get; set; } public PcRequirements PcRequirements { get; set; }
[JsonProperty("mac_requirements")] [JsonProperty("mac_requirements")]
public List<MacRequirement> MacRequirements { get; set; } public List<MacRequirements> MacRequirements { get; set; }
[JsonProperty("linux_requirements")] [JsonProperty("linux_requirements")]
public List<LinuxRequirement> LinuxRequirements { get; set; } public List<LinuxRequirements> LinuxRequirements { get; set; }
[JsonProperty("legal_notice")] [JsonProperty("legal_notice")]
public string LegalNotice { get; set; } public string LegalNotice { get; set; }

View File

@ -3,7 +3,6 @@ using SteamStorefrontAPI.Classes;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net.Http;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -12,8 +11,6 @@ namespace SteamStorefrontConsole
{ {
class Program class Program
{ {
static HttpClient client = new HttpClient();
static void Main(string[] args) static void Main(string[] args)
{ {
Task.Run(async () => await GetGame()).Wait(); 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(637670)).Result;
//var steamApp = Task.Run(async () => await AppDetails.GetAsync(443790)).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); Console.WriteLine(steamApp);
} }