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

Missing "tags" field in XML files from API

LebosteinLebostein Member Posts: 54
edited August 2019 in The Database
If I recieve a XML string from a set with API (getSets), then I miss the "<tags> ... </tags>" field. Here the example from 10185-1, Green Grocer, https://brickset.com/sets/10185-1/Green-Grocer

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://brickset.com/api/">
  <sets>
    <setID>6510</setID>
    <number>10185</number>
    <numberVariant>1</numberVariant>
    <name>Green Grocer</name>
    <year>2008</year>
    <theme>Creator Expert</theme>
    <themeGroup>Model making</themeGroup>
    <subtheme>Modular Buildings</subtheme>
    <pieces>2352</pieces>
    <minifigs>4</minifigs>
    <image>true</image>
    <imageFilename>10185-1</imageFilename>
    <thumbnailURL>https://images.brickset.com/sets/small/10185-1.jpg</thumbnailURL&gt;
    <largeThumbnailURL>https://images.brickset.com/sets/small/10185-1.jpg</largeThumbnailURL&gt;
    <imageURL>https://images.brickset.com/sets/images/10185-1.jpg</imageURL&gt;
    <bricksetURL>https://brickset.com/sets/10185-1</bricksetURL&gt;
    <released>true</released>
    <owned>false</owned>
    <wanted>false</wanted>
    <qtyOwned>0</qtyOwned>
    <ACMDataCount>0</ACMDataCount>
    <ownedByTotal>7334</ownedByTotal>
    <wantedByTotal>10384</wantedByTotal>
    <UKRetailPrice>99.99</UKRetailPrice>
    <USRetailPrice>149.99</USRetailPrice>
    <CARetailPrice>219.99</CARetailPrice>
    <EURetailPrice />
    <USDateAddedToSAH>2008-03-05</USDateAddedToSAH>
    <USDateRemovedFromSAH>2010-11-08</USDateRemovedFromSAH>
    <rating>4.92857142857143</rating>
    <reviewCount>28</reviewCount>
    <packagingType>Box</packagingType>
    <availability>Retail - limited</availability>
    <instructionsCount>3</instructionsCount>
    <additionalImageCount>21</additionalImageCount>
    <ageMin />
    <ageMax />
    <height />
    <width />
    <depth />
    <weight />
    <category>Normal</category>
    <userRating>0</userRating>
    <EAN>5702014518599</EAN>
    <UPC>673419130554</UPC>
    <lastUpdated>2017-12-06T02:09:57.68</lastUpdated>
  </sets>
</ArrayOfSets>




Comments

  • HuwHuw Administrator Posts: 7,120
    They are not output via the api yet
  • LebosteinLebostein Member Posts: 54
    Why it is documented? See class definition of a set:


  • HuwHuw Administrator Posts: 7,120
    Ah, OK, you need to use getSet, not getSets to return the tags and other textual information about a specific set.
  • LebosteinLebostein Member Posts: 54
    Ah!! Thanks!!
  • misiak007misiak007 Member Posts: 2
    Hi there, I see that you are experts in how to get XML. I am not a developer, and I need an XML for all sets, but I do not how to build it. Can you please give me some example hot the URL should look like?
    I need:
    - All sets SetId and EAN - or such an XML output as Lobstein have + EAN
    - List of all theme
    A have an API Key. Thank you very much for the help
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.