-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I call the game icon? #131
Comments
Let me think about it, You are trying to get the game icon like Dota is right? If so, game icons are provided by two APIs under https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/
https://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1/ The API will return a Then you can get the icon by url splicing:
But I remember that this package provides this feature, i see in Steam/src/Syntax/SteamApi/Containers/Game.php Lines 35 to 36 in 09974ab
Steam/src/Syntax/SteamApi/Steam/Player.php Lines 74 to 99 in 09974ab
You can use Steam::player($steamId)->GetOwnedGames();
Steam::player($steamId)->GetRecentlyPlayedGames() to get game icon. For more information you can refer to package documentation or Steam Web API Documentation by xPaw. |
I'm trying to call the game icon, but instead of the picture I always get a link to the steam picture
I want to make sure that each game has its own picture
help me please
Require
Laravel 9 + AdminLTE
https://prnt.sc/N_Kh8b6l9HV6
The text was updated successfully, but these errors were encountered: