Updated solution metadata.
This commit is contained in:
parent
71b62ff30a
commit
f01ee0e832
@ -1,7 +1,7 @@
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 mmuffins
|
||||
Copyright (c) 2018 Michael Kellner
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
33
README.md
33
README.md
@ -3,4 +3,35 @@
|
||||
The SteamStorefrontAPI is a .NET wrapper for the steam storefront api which is exposed via Steam Big Picture. The API is not officially available or documented, all data in this library was either compiled by trial and error from the [inofficial api documentation](https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI), and is therefore provided as-is.
|
||||
|
||||
## Usage examples
|
||||
Please see the SteamStorefrontConsole Project for usage examples.
|
||||
|
||||
```cs
|
||||
using SteamStorefrontAPI;
|
||||
using SteamStorefrontAPI.Classes;
|
||||
|
||||
static async Task Examples()
|
||||
{
|
||||
// Get details for SteamApp with ID 443790
|
||||
SteamApp steamApp1 = await AppDetails.GetAsync(460810);
|
||||
|
||||
// Get details for SteamApp with ID 443790 for region US
|
||||
SteamApp steamApp2 = await AppDetails.GetAsync(322330, "US");
|
||||
|
||||
// Get details for Package with ID 68179 for region
|
||||
PackageInfo package1 = await PackageDetails.GetAsync(68179);
|
||||
|
||||
// Get details for Package with ID 68179 for region JP
|
||||
PackageInfo package2 = await PackageDetails.GetAsync(68179, "JP");
|
||||
|
||||
// Get a list of featured games
|
||||
FeaturedApps featured = await Featured.GetAsync();
|
||||
|
||||
// Get a list of featured games for region DE
|
||||
FeaturedApps featured2 = await Featured.GetAsync("DE");
|
||||
|
||||
// Get a list of featured games grouped by category
|
||||
List<FeaturedCategory> featuredCategories = await FeaturedCategories.GetAsync();
|
||||
|
||||
// Get a list of featured games grouped by category for region US
|
||||
List<FeaturedCategory> featuredCategories2 = await FeaturedCategories.GetAsync("DE");
|
||||
}
|
||||
```
|
@ -8,9 +8,9 @@ using System.Runtime.InteropServices;
|
||||
[assembly: AssemblyTitle("SteamStorefrontAPI")]
|
||||
[assembly: AssemblyDescription("A .NET wrapper for the Steam Storefront API")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyCompany("Michael Kellner")]
|
||||
[assembly: AssemblyProduct("SteamStorefrontAPI")]
|
||||
[assembly: AssemblyCopyright("Copyright © mmuffins 2018")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
@ -9,8 +9,9 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SteamStorefrontAPI</RootNamespace>
|
||||
<AssemblyName>SteamStorefrontAPI</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
16
SteamStorefrontAPI/SteamStorefrontAPI.nuspec
Normal file
16
SteamStorefrontAPI/SteamStorefrontAPI.nuspec
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>$id$</id>
|
||||
<version>$version$</version>
|
||||
<title>$title$</title>
|
||||
<authors>$author$</authors>
|
||||
<owners>$author$</owners>
|
||||
<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>
|
||||
<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>$description$</description>
|
||||
<copyright>$copyright$</copyright>
|
||||
<tags>steam api valve</tags>
|
||||
</metadata>
|
||||
</package>
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
@ -18,18 +18,29 @@ namespace SteamStorefrontConsole
|
||||
|
||||
static async Task Examples()
|
||||
{
|
||||
var steamApp1 = await AppDetails.GetAsync(637670);
|
||||
var steamApp2 = await AppDetails.GetAsync(443790);
|
||||
var steamApp3 = await AppDetails.GetAsync(460810, "JP");
|
||||
var steamApp4 = await AppDetails.GetAsync(322330, "US");
|
||||
// Get details for SteamApp with ID 443790
|
||||
SteamApp steamApp1 = await AppDetails.GetAsync(460810);
|
||||
|
||||
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");
|
||||
// Get details for SteamApp with ID 443790 for region US
|
||||
SteamApp steamApp2 = await AppDetails.GetAsync(322330, "US");
|
||||
|
||||
var featured = await Featured.GetAsync();
|
||||
var featuredCategories = await FeaturedCategories.GetAsync();
|
||||
// Get details for Package with ID 68179 for region
|
||||
PackageInfo package1 = await PackageDetails.GetAsync(68179);
|
||||
|
||||
// Get details for Package with ID 68179 for region JP
|
||||
PackageInfo package2 = await PackageDetails.GetAsync(68179, "JP");
|
||||
|
||||
// Get a list of featured games
|
||||
FeaturedApps featured = await Featured.GetAsync();
|
||||
|
||||
// Get a list of featured games for region DE
|
||||
FeaturedApps featured2 = await Featured.GetAsync("DE");
|
||||
|
||||
// Get a list of featured games grouped by category
|
||||
List<FeaturedCategory> featuredCategories = await FeaturedCategories.GetAsync();
|
||||
|
||||
// Get a list of featured games grouped by category for region US
|
||||
List<FeaturedCategory> featuredCategories2 = await FeaturedCategories.GetAsync("DE");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,9 +8,10 @@
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>SteamStorefrontConsole</RootNamespace>
|
||||
<AssemblyName>SteamStorefrontConsole</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
Loading…
Reference in New Issue
Block a user