Renamed GetGame function to a more logical name.

This commit is contained in:
mmuffins 2018-05-24 22:16:39 +02:00
parent 14dc3358c0
commit 1d3232ceb8

View File

@ -13,27 +13,23 @@ namespace SteamStorefrontConsole
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
Task.Run(async () => await GetGame()).Wait(); Task.Run(async () => await Examples()).Wait();
} }
static async Task GetGame() static async Task Examples()
{ {
var steamApp1 = await AppDetails.GetAsync(637670); var steamApp1 = await AppDetails.GetAsync(637670);
var steamApp2 = await AppDetails.GetAsync(443790); var steamApp2 = await AppDetails.GetAsync(443790);
var steamApp3 = await AppDetails.GetAsync(460810, "JP"); var steamApp3 = await AppDetails.GetAsync(460810, "JP");
var steamApp4 = await AppDetails.GetAsync(322330); var steamApp4 = await AppDetails.GetAsync(322330, "US");
var steamApp5 = await AppDetails.GetAsync(241930);
//var package1 = await PackageDetails.GetAsync(68179); var package1 = await PackageDetails.GetAsync(68179);
//var package2 = await PackageDetails.GetAsync(68179, "JP"); var package2 = await PackageDetails.GetAsync(68179, "JP");
//var package3 = await PackageDetails.GetAsync(235158); var package3 = await PackageDetails.GetAsync(235158);
//var package4 = await PackageDetails.GetAsync(235158, "US"); var package4 = await PackageDetails.GetAsync(235158, "US");
//var featured = await Featured.GetAsync(); var featured = await Featured.GetAsync();
//var featuredCategories = await FeaturedCategories.GetAsync(); var featuredCategories = await FeaturedCategories.GetAsync();
//Console.WriteLine(featured);
} }
} }
} }