SkadisteamInventoryProxy by igeligel
A .NET Core Project within a Docker Container to make it possible to easily host a Proxy Service for Steam Community Inventory Requests. It has an integrated In-Memory-Cache which is configurable via the settings file.
First clone the repository:
git clone https://github.com/igeligel/SkadisteamInventoryProxy.git
cd SkadisteamInventoryProxy
Just run the command:
./build.sh
If you dont have the possibility to run Docker you can run it as normal ASP.NET Core Web Application:
cd src
dotnet restore
dotnet publish -c Release -o out
cd out
dotnet SkadisteamInventoryProxy.dll
For development:
cd src
dotnet restore
dotnet build
dotnet run
In the source code of this repository you can find a file called appsettings.inventory.json.
You can set different configurations inside this file. For more documentations check out the docs folder.
After you have applied the settings you can start the application and go to: localhost:5000/api/inventory/76561198028630048/730/2.
The whole API is hosted on Port 5000. If you want to change this, change the Port inside Program.cs.
You can also change the Cache time. The Cache Time describes how long an inventory should be cached. You are also able to exclude several Steam Community Id's from Caching via the configuration file. To get examples of the check out the /docs
folder.
To disable the In-Memory-Cache just set the time to 0
.
Feel free to contribute. Always check Issues first if something is requested.
Since Steam Community is limiting requests to the inventory endpoint heavily, i was forced to come up with a solution. Since it should be just an easy project you can just get up and running with Docker and configuring the settings file.
You can find documentation here.
igeligel Contributions: 4 |
---|
SkadisteamInventoryProxy is realeased under the MIT License.