2018-05-22 16:45:33 -04:00
|
|
|
|
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)
|
|
|
|
|
{
|
2018-05-24 16:16:39 -04:00
|
|
|
|
Task.Run(async () => await Examples()).Wait();
|
2018-05-22 16:45:33 -04:00
|
|
|
|
}
|
|
|
|
|
|
2018-05-24 16:16:39 -04:00
|
|
|
|
static async Task Examples()
|
2018-05-22 16:45:33 -04:00
|
|
|
|
{
|
2018-05-24 15:12:42 -04:00
|
|
|
|
var steamApp1 = await AppDetails.GetAsync(637670);
|
|
|
|
|
var steamApp2 = await AppDetails.GetAsync(443790);
|
|
|
|
|
var steamApp3 = await AppDetails.GetAsync(460810, "JP");
|
2018-05-24 16:16:39 -04:00
|
|
|
|
var steamApp4 = await AppDetails.GetAsync(322330, "US");
|
2018-05-22 16:45:33 -04:00
|
|
|
|
|
2018-05-24 16:16:39 -04:00
|
|
|
|
var package1 = await PackageDetails.GetAsync(68179);
|
|
|
|
|
var package2 = await PackageDetails.GetAsync(68179, "JP");
|
|
|
|
|
var package3 = await PackageDetails.GetAsync(235158);
|
|
|
|
|
var package4 = await PackageDetails.GetAsync(235158, "US");
|
2018-05-23 16:58:09 -04:00
|
|
|
|
|
2018-05-24 16:16:39 -04:00
|
|
|
|
var featured = await Featured.GetAsync();
|
|
|
|
|
var featuredCategories = await FeaturedCategories.GetAsync();
|
2018-05-22 16:45:33 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|