You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,18 @@ Instead of stressing about parsing the ugly JSON responses yourself, just use th
24
24
* Handles legacy, modern, and 64-bit Steam Id representations
25
25
26
26
## Install the Library from NuGet
27
-
See the library in the NuGet gallery [here](https://www.nuget.org/packages/SteamWebAPI2). You can install the library into your project directly from the package manager.
27
+
See the library in the NuGet gallery [here](https://www.nuget.org/packages/SteamWebAPI2).
28
28
29
+
Package Manager:
29
30
```
30
31
Install-Package SteamWebAPI2
31
32
```
32
33
34
+
.NET Core CLI:
35
+
```
36
+
dotnet add package SteamWebAPI2
37
+
```
38
+
33
39
## How to Use the Library
34
40
1. Read the `About` section so you understand why this library exists
35
41
2. Install the library from NuGet
@@ -38,7 +44,7 @@ Install-Package SteamWebAPI2
38
44
5. Use the factory to create endpoint interface classes.
39
45
5. Use the interface class and call a method with your parameters.
40
46
41
-
The library is structured to mirror the Steam Web API endpoint structure. For example, the "DOTA2Econ" class will expose methods to communicate with the "IDOTA2Econ" endpoints.
47
+
The library is structured to mirror the Steam Web API endpoint structure. For example, the "DOTA2Econ" class will expose methods to communicate with the "IDOTA2Econ" endpoints. See [here](http://steamwebapi.azurewebsites.net/) for more endpoint details.
42
48
43
49
Each method returns a SteamWebResponse object which contains the following:
44
50
@@ -72,10 +78,3 @@ var playerSummaryLastModified = playerSummaryResponse.LastModified;
In versions previous to 3.0, numerical types were treated as short, int, and long. This caused problems when interacting with the Steam Web API because Valve accepts and returns unsigned numerical types. Instead of constantly reacting to overflows when a specific endpoint would return something outside the bounds of a 32-bit int, I decided to switch all numerical types to their unsigned counterparts.
78
-
79
-
## Changes from 3.0 to 4.0
80
-
* .NET Core is now supported.
81
-
* All endpoints now return ISteamWebResponse<T> where T is the response payload type. This allows more metadata to be returned with each end point such as HTTP headers and status messages in addition to the response payload.
0 commit comments