SteamStorefrontAPI/SteamStorefrontConsole/Program.cs

30 lines
714 B
C#
Raw Normal View History

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;
2018-05-22 16:57:32 -04:00
var steamApp = await AppDetails.GetAsync(213670);
Console.WriteLine(steamApp);
}
}
}