SteamStorefrontAPI/SteamStorefrontConsole/Program.cs
2018-05-22 22:57:32 +02:00

30 lines
714 B
C#

using SteamStorefrontAPI;
using SteamStorefrontAPI.Classes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamStorefrontConsole
{
class Program
{
static void Main(string[] args)
{
Task.Run(async () => await GetGame()).Wait();
}
static async Task GetGame()
{
//var steamApp = Task.Run(async () => await AppDetails.GetAsync(637670)).Result;
//var steamApp = Task.Run(async () => await AppDetails.GetAsync(443790)).Result;
var steamApp = await AppDetails.GetAsync(213670);
Console.WriteLine(steamApp);
}
}
}