Skip to content

Commit aa6389c

Browse files
author
babelshift
committed
Updated libs.
Started to add some models to support steam store stuff.
1 parent f5de883 commit aa6389c

13 files changed

Lines changed: 746 additions & 11 deletions

File tree

SteamWebAPI2.Net451/SteamWebAPI2.Net451.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<Private>True</Private>
3737
</Reference>
3838
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
39-
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
39+
<HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
4040
<Private>True</Private>
4141
</Reference>
4242
<Reference Include="Steam.Models, Version=1.0.0.24, Culture=neutral, processorArchitecture=MSIL">
@@ -296,6 +296,15 @@
296296
<Compile Include="..\SteamWebAPI2\Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs">
297297
<Link>Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs</Link>
298298
</Compile>
299+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\AppDetailsContainer.cs">
300+
<Link>Models\SteamStore\AppDetailsContainer.cs</Link>
301+
</Compile>
302+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedCategoriesContainer.cs">
303+
<Link>Models\SteamStore\FeaturedCategoriesContainer.cs</Link>
304+
</Compile>
305+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedProductsContainer.cs">
306+
<Link>Models\SteamStore\FeaturedProductsContainer.cs</Link>
307+
</Compile>
299308
<Compile Include="..\SteamWebAPI2\Models\TF2\GoldenWrenchResultContainer.cs">
300309
<Link>Models\TF2\GoldenWrenchResultContainer.cs</Link>
301310
</Compile>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="AutoMapper" version="4.2.1" targetFramework="net451" />
4-
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net451" />
4+
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net451" />
55
<package id="Steam.Models" version="1.0.0.24" targetFramework="net451" />
66
</packages>

SteamWebAPI2.Net452/SteamWebAPI2.Net452.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<Private>True</Private>
3737
</Reference>
3838
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
39-
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
39+
<HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
4040
<Private>True</Private>
4141
</Reference>
4242
<Reference Include="Steam.Models, Version=1.0.0.24, Culture=neutral, processorArchitecture=MSIL">
@@ -297,6 +297,15 @@
297297
<Compile Include="..\SteamWebAPI2\Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs">
298298
<Link>Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs</Link>
299299
</Compile>
300+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\AppDetailsContainer.cs">
301+
<Link>Models\SteamStore\AppDetailsContainer.cs</Link>
302+
</Compile>
303+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedCategoriesContainer.cs">
304+
<Link>Models\SteamStore\FeaturedCategoriesContainer.cs</Link>
305+
</Compile>
306+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedProductsContainer.cs">
307+
<Link>Models\SteamStore\FeaturedProductsContainer.cs</Link>
308+
</Compile>
300309
<Compile Include="..\SteamWebAPI2\Models\TF2\GoldenWrenchResultContainer.cs">
301310
<Link>Models\TF2\GoldenWrenchResultContainer.cs</Link>
302311
</Compile>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="AutoMapper" version="4.2.1" targetFramework="net452" />
4-
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net452" />
4+
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net452" />
55
<package id="Steam.Models" version="1.0.0.24" targetFramework="net452" />
66
</packages>

SteamWebAPI2.Portable/SteamWebAPI2.Portable.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,15 @@
288288
<Compile Include="..\SteamWebAPI2\Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs">
289289
<Link>Models\SteamPlayer\RecentlyPlayedGameResultContainer.cs</Link>
290290
</Compile>
291+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\AppDetailsContainer.cs">
292+
<Link>Models\SteamStore\AppDetailsContainer.cs</Link>
293+
</Compile>
294+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedCategoriesContainer.cs">
295+
<Link>Models\SteamStore\FeaturedCategoriesContainer.cs</Link>
296+
</Compile>
297+
<Compile Include="..\SteamWebAPI2\Models\SteamStore\FeaturedProductsContainer.cs">
298+
<Link>Models\SteamStore\FeaturedProductsContainer.cs</Link>
299+
</Compile>
291300
<Compile Include="..\SteamWebAPI2\Models\TF2\GoldenWrenchResultContainer.cs">
292301
<Link>Models\TF2\GoldenWrenchResultContainer.cs</Link>
293302
</Compile>

SteamWebAPI2.Portable/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"AutoMapper": "4.2.1",
88
"Microsoft.NETCore": "5.0.0",
99
"Microsoft.NETCore.Portable.Compatibility": "1.0.0",
10-
"Newtonsoft.Json": "8.0.2",
11-
"Steam.Models": "1.0.0.24"
10+
"Newtonsoft.Json": "8.0.3",
11+
"steam.models": "1.0.0.28"
1212
},
1313
"frameworks": {
1414
"dotnet": {
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Threading.Tasks;
2+
3+
namespace SteamWebAPI2.Interfaces
4+
{
5+
internal interface ISteamStore
6+
{
7+
//Task<StoreAppDetailsModel> GetStoreAppDetailsAsync();
8+
9+
//Task<StoreFeaturedCategoriesModel> GetStoreFeaturedCategoriesAsync();
10+
11+
//Task<StoreFeaturedProductsModel> GetStoreFeaturedProductsAsync();
12+
}
13+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace SteamWebAPI2.Interfaces
8+
{
9+
public class SteamStore : SteamWebInterface, ISteamStore
10+
{
11+
public SteamStore(string steamWebApiKey)
12+
: base(steamWebApiKey, string.Empty)
13+
{ }
14+
15+
//public Task<StoreAppDetailsModel> GetStoreAppDetailsAsync()
16+
//{
17+
18+
//}
19+
20+
//public Task<StoreFeaturedCategoriesModel> GetStoreFeaturedCategoriesAsync()
21+
//{
22+
23+
//}
24+
25+
//public Task<StoreFeaturedProductsModel> GetStoreFeaturedProductsAsync()
26+
//{
27+
28+
//}
29+
}
30+
}

0 commit comments

Comments
 (0)