/person/get_info

Description

Retrieve information of a person, including name, id, tag, faces assigned to the person, and groups that the person belongs to.

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
person_id or person_name The id or name of the target person.

Return Values

Field Type Description
group array Information of groups that this person belongs to.
face array Information of faces assigned to this person
tag string Tag of the person
person_name string Name of the person
person_id string Id of the person

Parameter

https://apius.faceplusplus.com/v2/person/get_info?api_secret=YOUR_API_SECRET&api_key=YOUR_API_KEY&person_name=NicolasCage

JSON Response

{
    "person_id": "9eb44387923528f97f8545d8bef906db", 
    "person_name": "NicolasCage", 
    "face": [
        {
            "face_id": "199d1efd19ce4ee67a7ec7655f859b1a", 
            "tag": ""
        }, 
        {
            "face_id": "02ff3c4a65a7a055ddd6ce788a345842", 
            "tag": ""
        }
    ], 
    "tag": "demotest", 
    "group": [
        {
            "group_id": "9f905acfaab659f33f85f08e2149864f", 
            "tag": "", 
            "group_name": "SuperStars"
        }
    ]
}

Error Code List

Error Code HTTP Status Code Error Message
1001 500 INTERNAL_ERROR
1003 403 AUTHORIZATION_ERROR
1003 403 INSUFFICIENT_PRIVILEGE_OR_QUOTA_LIMIT_EXCEEDED
1004 400 MISSING_ARGUMENTS
1005 400 INVALID_ARGUMENTS
1006 403 ILLEGAL_USE_OF_DEMO_KEY
1202 502 SERVER_TOO_BUSY
Google+