API Function - Get User Sets

Back to API list

Use this service to get all the sets saved in the specified user's Set Lists.

URL /api/get_user_sets
Method GET
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
email - The user's logon email.
pass - The user's password.
hash - User Hash Key, alternate to providing email+pass.
setlist_id - The ID of the user's set list to retrieve (leave out to combine all setlists)
Returns

Output data with fields:

  • set_id - Set ID
  • qty - Number of sets the user owns.
  • pieces - Number of parts in the set.
  • descr - Set description.
  • year - Year the set was released.
  • img_tn - Set image URL - tiny
  • img_sm - Set image URL - small
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • INVALIDPASS - Invalid user email or password
  • INVALIDHASH - The hash key does not match a user/password
  • NOUSER - The user could not be found
  • Test Values

    API Key:
    Format:
    User email:
    User password:
    User hash:
    Set List ID:
    Test

    Test Results