Skip to content
This repository was archived by the owner on Nov 4, 2018. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 965 Bytes

File metadata and controls

23 lines (19 loc) · 965 Bytes

Steam-Profile-Background

Get the background image from any public Steam profile page (see api dir) through a website (see website dir).

API Usage

Simply send a request to the API with a ?url= parameter.

URL can be:

API Responses

  • 200 Success, returns JSON with fields imageURL and gameName.
  • 404 Not found, returns JSON with error and description for failed request. Possible errors are:
    • INVALID_URL, url was invalid
    • NO_BACKGROUND, profile had no background
    • GAME_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

Contributing

Please feel free to contribute!