API Function - Get Set Match %

Back to API list

Use this service to find out how many parts the user needs to build the specified set. This will use any sets and loose parts the user has configured in their account. It returns two numbers - the total number of parts in the set and the number of parts the user is missing - so you can calculate the % yourself.

URL /api/get_set_match
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.
set - The Set ID to check.
Returns

Output data with fields:

  • last_modified - Timestamp (YYYY-MM-DD HH24:MI:SS) in UTC
  • 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
  • NOSET - The set could not be found
  • Test Values

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

    Test Results