Retrieve Features
Features provides the list of all features, called “Keywords”, that consumers are using in the product reviews to describe the product.
GET /features
curl -X 'GET' \
'http://[stg.]api.bazaarvoice.com/sentiment/v1/features? productId=29366&language=es&limit=10' \
--header ‘Authorization: passKey’
-H 'accept: application/json'
'http://[stg.]api.bazaarvoice.com/sentiment/v1/features?productId=29366&language=es&limit=10' \
--header ‘Authorization: passKey’
Header | Description |
---|---|
Authorization | Passkey (API key) provided to client for authentication |
Query Parameters
Request Parameter | Description | Required |
---|---|---|
productId | Unique identifier of the product for which you want to retrieve features | Yes |
language | Supported Languages – English (en), French (fr), German (de) and Spanish(es). You cannot pass multiple languages. Locales (ex- en_US, en_CA, fr_CA) are not supported. | Yes |
limit | Number of features. Default value: 10 | No |
Sample Response
{
"features": [
{
"feature": "comfort",
"nativeFeature": "consuelo"
},
{
"feature": "satisfaction",
"nativeFeature": "satisfacción"
},
{
"feature": "quality",
"nativeFeature": "calidad"
},
{
"feature": "fit",
"nativeFeature": "caber"
},
{
"feature": "purchase",
"nativeFeature": "compra"
},
{
"feature": "appearance",
"nativeFeature": "apariencia"
},
{
"feature": "size",
"nativeFeature": "tamaño"
},
{
"feature": "material",
"nativeFeature": "material"
},
{
"feature": "price",
"nativeFeature": "precio"
},
{
"feature": "color",
"nativeFeature": "color"
}
]
}
Response Parameters
Response Field Name | Data Type | Description |
---|---|---|
features | Array | An array containing list of all features for the requested product. Please refer to feature for attributes type and description of the attributes |
feature
Response Field Name | Data Type | Description |
---|---|---|
feature | String | Unique identifier of the feature. It is composed of words and phrases that match the name of the feature in English, but to be treated as ID. It can contain ‘spaces’ |
nativeFeature | String | Name of the feature displayed in requested language i.e. “en, fr, de, es” |
Updated 5 months ago