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.

Missing "tags" field in XML files from API

LebosteinLebostein GermanyMember Posts: 6
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,413
    They are not output via the api yet
  • LebosteinLebostein GermanyMember Posts: 6
    Why it is documented? See class definition of a set:


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