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
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,18 +30,15 @@ See the library in the NuGet gallery [here](https://www.nuget.org/packages/Steam
30
30
Install-Package SteamWebAPI2
31
31
```
32
32
33
-
## How Valve's Steam Web API is Architected
34
-
Gain a basic understanding of how Valve's Steam Web API is laid out: please see [this helper site](http://steamwebapi.azurewebsites.net/) that I made to more easily describe the available endpoints.
35
-
36
33
## How to Use the Library
37
34
1. Read the `About` section so you understand why this library exists
38
35
2. Install the library from NuGet
39
-
3.Instantiate an object from any class that inherits from `SteamWebInterface` for whatever endpoint you want to use
40
-
1. Requires a Steam Web API developer key. [Get one here](https://steamcommunity.com/dev/apikey). **KEEP THIS SECRET**.
41
-
2. Some endpoints require an AppId (such as 440 for Team Fortress 2)
42
-
4. Call the method with your parameters that you want to use
36
+
3.Get a Steam Web API developer key. [Get one here](https://steamcommunity.com/dev/apikey). **KEEP THIS SECRET**.
37
+
4. Instantiate a `SteamWebInterfaceFactory` to use as a helper to create objects for various endpoint calls.
38
+
5. Use the factory to create endpoint interface classes.
39
+
5. Use the interface class and call a method with your parameters.
43
40
44
-
The library is structured to mirror the endpoint structure. For example, the "DOTA2Econ" class will expose methods to communicate with the "IDOTA2Econ" endpoints.
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.
45
42
46
43
Each method returns a SteamWebResponse object which contains the following:
0 commit comments