Hints for full name #
Method of hint for full name
Method address #
POST /suggest/name
Functionality #
- offers the most relevant meanings in terms of last name, first name, patronymic;
- determines the gender of the name.
Request parameters #
Parameter | Description |
---|---|
search | Part of the name |
type | Name type. NAME - name. LASTNAME - surname. MIDDLENAME - middle name |
Sample request data #
{
"query": "Андре",
"type": "NAME",
"count": "10"
}
Response options #
Parameter | Description |
---|---|
result | Meaning of the name |
lang | Name writing language |
gender | Gender |
Sample response data #
{
"suggestions": [
{
"result": "Андрей",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андре",
"lang": "rus",
"gender": "FEMALE"
},
{
"result": "Андрес",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андреи",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андрея",
"lang": "rus",
"gender": "FEMALE"
},
{
"result": "Андрейка",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андреас",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андреа",
"lang": "rus",
"gender": "FEMALE"
},
{
"result": "Андрев",
"lang": "rus",
"gender": "MALE"
},
{
"result": "Андреан",
"lang": "rus",
"gender": "MALE"
}
]
}