API: Query weight/width/length/height

Hi,

The /v1/catalog/lookup query works great for IDs and images, but seems to have other shortcomings.

In the JSON reply, the weight is provided but it's printed as an integer. So a part with a weight of 2.320g is printed as "weight":2. And the width/length/height attributes appear absent entirely.

Thanks!

P.S. On a related topic, I often feel the API prints more stuff than we need, consuming more bandwidth than necessary... If there were some optional "hidemask" argument or such, basically an integer where each bit indicates if we want a piece of information, I would definitely use it in BrickSync.

Comments

Sign In or Register to comment.