Shopping at LEGO or Amazon?
Please use our links: LEGO.com Amazon
As an Amazon Associate we earn from qualifying purchases.

API Call getAdditionalImages Returns no results

jeffrosejeffrose Member Posts: 2
When I make a request to getAdditionalImages either from my website or from the API demo, it returns no images even for sets that have them.

For example: 41121 should have 14 additional images (and does on it's listing, and in the set details), but the API call returns a NIL.

Comments

  • jeffrosejeffrose Member Posts: 2
    Ok, I figured it out. The call needs the SET_ID which is the unique BrickSet.com number, not the LEGO set identifier, because duplicates.
  • ricecakericecake Member Posts: 878
    I don't use the API (I'm more if a desktop app developer, not so much a Web dev) but thank you for coming back and posting the solution after figuring it out. This comic mimics life far too often.

    canon03Poochy
  • HuwHuw Administrator Posts: 7,120
    edited August 2016
    Sorry for the late reply. Yes, you need to pass the setID, which is obtained from a getSets call.
Sign In or Register to comment.

Shopping at LEGO.com or Amazon?

Please use our links: LEGO.com Amazon

Recent discussions Categories Privacy Policy Brickset.com

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Brickset.com is a participant in the Amazon Services LLC Associates Program, the Amazon.com.ca, Inc. Associates Program and the Amazon EU Associates Programme, which are affiliate advertising programs designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.

As an Amazon Associate we earn from qualifying purchases.