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 GermanyMember Posts: 8
edited August 6 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>;
    <largeThumbnailURL>https://images.brickset.com/sets/small/10185-1.jpg</largeThumbnailURL>;
    <imageURL>https://images.brickset.com/sets/images/10185-1.jpg</imageURL>;
    <bricksetURL>https://brickset.com/sets/10185-1</bricksetURL>;
    <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 Brickset Towers, Hampshire, UKAdministrator Posts: 6,470
    They are not output via the api yet
  • LebosteinLebostein GermanyMember Posts: 8
    Why it is documented? See class definition of a set:


  • HuwHuw Brickset Towers, Hampshire, UKAdministrator Posts: 6,470
    Ah, OK, you need to use getSet, not getSets to return the tags and other textual information about a specific set.
  • LebosteinLebostein GermanyMember Posts: 8
    Ah!! Thanks!!
Sign In or Register to comment.

Shopping at LEGO.com or Amazon?

Please use our links: LEGO.com Amazon

Recent discussions Categories Privacy Policy

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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.