API Function - Get Set Parts

Back to API list

Use this service to get a list of all parts in a set. It includes both normal and spare parts.

URL /api/get_set_parts
Method GET
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
set - The Set ID to look up
Returns

Output data with fields:

  • set_id - Set ID
  • descr - Set description.
  • set_img_url - Set image URL.
  • parts - Array of parts in the set.
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • NOSET - The set could not be found
  • Test Values

    API Key:
    Format:
    Set ID:
    Test

    Test Results