GetKeywordsSuggestion

Returns suggestions for keywords.

Restrictions

Points are used when this method is invoked (see Point limitations). If there are not enough points available, the error message 152 is returned.

Input data

The input data structure in JSON is shown below.

{
   "method": "GetKeywordsSuggestion",
   "param": {
      /* KeywordsSuggestionInfo */
      "Keywords": [
         (string)
         ...
      ]
   }
}

Parameters are described below.

Parameter Description Required
KeywordsSuggestionInfo object
Keywords

Array of keywords that require suggestions (UTF-8 encoding).

Keywords may consist of several keywords. This method does not return suggestions if the words are from subject areas that are not related to each other, such as [refrigerator textbook].

Yes
Parameter Description Required
KeywordsSuggestionInfo object
Keywords

Array of keywords that require suggestions (UTF-8 encoding).

Keywords may consist of several keywords. This method does not return suggestions if the words are from subject areas that are not related to each other, such as [refrigerator textbook].

Yes

Output data

The method returns suggestions for keywords (up to 20 keywords). The output data structure in JSON is shown below.

{
   "data": [
      (string)
      ...
   ]
}

Examples of input data

Python

{
 'Keywords': [u'refrigerator', u'unit']
}

PHP

array(
   'Keywords' => array('refrigerator', 'unit')
)>

Perl

{
 'Keywords' => ['refrigerator', 'unit']
}>