Public Access
Add owned-games DTO and full profile support
Introduce SteamOwnedGamesResponse and SteamProfileAndGamesResponse DTOs and extend SteamApiService with getOwnedGames(...) and getFullPlayerProfile(...) to fetch and combine player summary and owned games. Update SteamTestController to return the combined profile/games response. Remove redundant Steam service URL entries from application.yml. Add SteamApiServiceTest to cover player summary, owned games (including null fields), and the combined profile flow; service falls back to empty lists on errors.
This commit is contained in:
1 parent
1dc2efba01
commit
be9b70c541
6 files changed
+243
-6
No files matched your search
@@ -43,6 +43,4 @@ app:
|
||||
steam:
|
||||
api-key: ${STEAM_API_KEY}
|
||||
base-url: https://api.steampowered.com
|
||||
playerService-url: https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/
|
||||
storeService-url: https://api.steampowered.com/IStoreService/GetAppList/v1/
|
||||
imageService-url: https://cdn.cloudflare.steamstatic.com/steam/apps/
|
||||
Reference in new issue
Block a user