shopping24 documentation

s is for shopping

Entity Recognition

This API endpoint can be used to find entities in query. The recoignized entities could be the same as the filter in api search, but there is no guarantee that every entity is available as filter. The result returned is a list of entityrecognitions found. You can only request up to 150 characters as query!

GET /v3/:appid/entity/recognition?q=:QUERY

Example

GET /v3/example/entity/recognition?q=blaue%20myBrand
<entityrecognitions>
  <entityRecognition>
    <id>1</id>
    <type>color</type>
    <name>Blau</name>
    <origin>blaue</origin>
    <originStartPosition>0</originStartPosition>
    <originEndPosition>5</originEndPosition>
    <originWordPosition>0</originWordPosition>
    <originTokenCount>1</originTokenCount>
  </entityRecognition>
  <entityRecognition>
    <id>2</id>
    <type>brand</type>
    <name>myBrand</name>
    <origin>myBrand</origin>
    <originStartPosition>6</originStartPosition>
    <originEndPosition>13</originEndPosition>
    <originWordPosition>1</originWordPosition>
    <originTokenCount>1</originTokenCount>
  </entityRecognition>
</entityrecognitions>