Get the background image from any public Steam profile page (see api dir) through a website (see website dir).
Simply send a request to the API with a ?url= parameter.
URL can be:
- ID URL (https://steamcommunity.com/id/lasermarty)
- Profiles URL (https://steamcommunity.com/profiles/76561198041914206)
API Responses
- 200 Success, returns JSON with fields
imageURLandgameName. - 404 Not found, returns JSON with error and description for failed request. Possible errors are:
INVALID_URL, url was invalidNO_BACKGROUND, profile had no backgroundGAME_NOT_FOUND, game that belongs to wallpaper doesn't exist (will still return image URL)
- 429 Too many requests, returns JSON with error and description for failed request. Possible errors are:
RATELIMIT_EXCEEDED, you sent more than 10 requests in 1 minute/200 requests in a day
Please feel free to contribute!