Sync

Sync Collection

Sync Collection with IsThereAnyDeal. User can set category for your profile in their settings, same as with natively supported profiles.

Games are synced as redeemed copies. If there already is a redemeed copy with the same shop in user's Collection, new copy will not be added.

put/profiles/sync/collection/v1

Request

  • Base URL: https://api.isthereanydeal.com
  • URL: https://api.isthereanydeal.com/profiles/sync/collection/v1
  • Auth: OAuth 2 (authorization code, authorization URL https://isthereanydeal.com/oauth/authorize/, token URL https://isthereanydeal.com/oauth/token/, scopes: profiles)

Headers

ITAD-Profilestring required

Profile token

Request body

shopnumber required

Shop ID

idstring required

ID can be any string that will identify the game. It should be stable and not change in the future.

ID can also used to identify the game, if you use same IDs that we use for tracking shops. If a game is not identified with shop and id, we will use title.

For Steam we use full ids, i.e. app/{id}, sub/{id} or bundle/{id}.

titlestring required

Title of the game.

playtimenumber nullable

Play time in minutes

lastPlayedstring date-time nullable

Response

Success response

totalnumber required

Number of copies that were successfully parsed

addednumber required

Number of copies that were added to Collection

removednumber required

Number of copies that were removed from Collection

Changes

No recorded changes to this operation across all 1 revision of this API.