Please refrain from posting animated GIFs, memes, joke videos and so on in discussions other than those in the off topic area.

Dismiss this message to confirm your acceptance of this additional forum term of use.
You must be 16 or over to participate in the Brickset Forum. Please read the announcements and rules before you join.

API getSets returning nothing for owned/wanted = 1

RexfelisRexfelis Snohomish, WAMember Posts: 13
I'm sure I'm just doing something wonky, but I can't seem to get any results when trying to fetch the owned/wanted sets for the "logged in" user.

The request looks like so (API key cut for privacy):

https://brickset.com/api/v2.asmx/getSets?apiKey=<apiKey>&orderBy=Number&owned=1&pageNumber=&pageSize=1000&query=&setNumber=&subtheme=&theme=&userHash=cD*8YalcEn&userName=&wanted=0&year=

And the response is just:

<ArrayOfSets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://brickset.com/api/" xsi:nil="true"/>

So...trying to figure out what I'm missing...or am I just using the wrong API for getting the owned/wanted sets for a given userHash?

Comments

This discussion has been closed.
Recent discussions Categories Privacy Policy