ISuxGaming Mar 1, 2024 @ 12:09am
Steam Image API
Is there anything wrong with Steams' Current API for images? Mainly img_logo_url. I can't get it to pull anything. If I use img_icon_url it works fine, but, "tiny image" as its just an icon. So I just wanted to check to see if there are any issues with img_logo_url.
< >
Showing 1-4 of 4 comments
metamec Mar 2, 2024 @ 2:00am 
I just knocked up a little Powershell script to test it.

# Define your API key and Steam ID $apiKey = "[removed]" $steamId = "76561198009144076" $apiUrl = "http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=$apiKey&steamid=$steamId&format=json" $response = Invoke-RestMethod -Uri $apiUrl -Method Get $totalCount = $response.response.total_count Write-Output "Recent games played: $totalCount" foreach ($game in $response.response.games) { $game | Get-Member -MemberType *Property | ForEach-Object { $propertyName = $_.Name $propertyValue = $game.($_.Name) Write-Output ($propertyName + ": " + $propertyValue) } Write-Output "------------------------" }

You are right. If all object properties are expanded, it's clear that img_logo_url is not even being returned:

PS S:\repos\mysteamlab> .\apitest.ps1 Recent games played: 3 appid: 1170080 img_icon_url: dcb6f76f48464ab9a177e1ae7b105260ba841e7c name: Foretales playtime_2weeks: 1002 playtime_forever: 1002 playtime_linux_forever: 0 playtime_mac_forever: 0 playtime_windows_forever: 1002 ------------------------ appid: 1628130 img_icon_url: 34f8a8ba6ae77bfc9dff98c0914e31f1a5449597 name: Who Pressed Mute on Uncle Marcus? playtime_2weeks: 592 playtime_forever: 592 playtime_linux_forever: 0 playtime_mac_forever: 0 playtime_windows_forever: 592 ------------------------ appid: 441870 img_icon_url: 950f7ffade314f9c7ea19808f506b04356549de8 name: OutDrive playtime_2weeks: 7 playtime_forever: 139 playtime_linux_forever: 0 playtime_mac_forever: 0 playtime_windows_forever: 139 ------------------------

I'm pretty sure the property should exist even if the hash does not, so maybe there is a problem with the api right now?
Last edited by metamec; Mar 2, 2024 @ 2:09am
ISuxGaming Mar 2, 2024 @ 10:45am 
That's all I can assume, because everything else works just fine, just not the "img_logo_url", if I "right-click" on an image(broken), it doesn't even give the correct image either, just says 404 not found. 🤷‍♂️.. I guess its something on Steams side of things.
MalikQayum Mar 3, 2024 @ 2:59am 
which api are you using? and which appid are you trying to get the images for?
Last edited by MalikQayum; Mar 3, 2024 @ 3:00am
Skijearz Jun 11, 2024 @ 6:43pm 
Looks like they removed the "img_logo_url" from the api endpoint... which is sad because id love to get them through the api for a little project..

have you found a workaround or something ?:D
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Mar 1, 2024 @ 12:09am
Posts: 4