How zekdav/steampricecounter works
This is a small console application that estimates the value of a Steam account’s game library. Its main flow fetches the owned-game list, looks up each game’s Polish price, totals paid and free games, and prints the statistics. The excerpts show the HTTP requests, JSON deserialization, and orchestration; the external Steam services are inferred from request URLs. The project file is present in the tree but is not part of the runtime map.
Main entry points: Program.cs Valuation workflow · ReceiveLibraryData.cs Library retrieval · ReceiveGameData.cs Game details retrieval · GetLibraryData.cs Library response models
Components 8
Account valuation
- Valuation workflow
Program.cs
Steam API clients
- Library retrieval
ReceiveLibraryData.cs - Game details retrieval
ReceiveGameData.cs
Response models
- Library response models
GetLibraryData.cs - Game detail models
GetGameData.cs
Other components
- Console user
- Steam owned-games API
- Steam app-details API
Connections 7
- Console user → Valuation workflow: runs
- Valuation workflow → Library retrieval: requests library
Program.cs - Library retrieval → Steam owned-games API: fetches games
ReceiveLibraryData.cs - Library retrieval → Library response models: deserializes into
ReceiveLibraryData.cs - Valuation workflow → Game details retrieval: requests details
Program.cs - Game details retrieval → Steam app-details API: fetches details
ReceiveGameData.cs - Game details retrieval → Game detail models: deserializes into
ReceiveGameData.cs