Missing game logos

I’m trying to use the games apis (both search and top), and I’m having a problem. It seems as if several games do not have logos associated, and will just return the default twitch logo. Most games could fall back to box art display in my UI in this case, but there is no way to tell if a game has a valid logo or not (there is nothing in the data to indicate that the logo urls are going to return the default image).

Could you please add something to the response to indicate whether a logo is missing or not?


Actually, there is a way to know if the image will result in the Twitch logo. When you download the game logo, if it doesn’t exists, you will be redirected to another image.

For instance, if you search for the game Pokémon FireRed/LeafGreen and try to get the logo 240x144 (http://static-cdn.jtvnw.net/ttv-logoart/Pok%C3%A9mon%20FireRed%2FLeafGreen-240x144.jpg), the result is a Twitch logo because it’s missing… but look at the URL, you are being redirected to http://static-cdn.jtvnw.net/ttv-static/404_preview-240x144.jpg

For every missing logo, you will be redirected to http://static-cdn.jtvnw.net/ttv-static/404_preview-{width}x{height}.jpg