1. Connect
JOIN EDITZ

Function get_user_info

Function Name: get_user_info
Description: Get the user information
Parameters:

  • user: The username for which you want to get the information

Return:

  • status: The status of the result, 0 for OK, 1 for error (look at the error code and messages)
  • name: The username
  • id: The system ID for this user
  • picture: The relative url for the user's image
  • corrections:
    • total: The total of corrections has made this user
    • accepted: The number of corrections accepted by the site owners
    • percentage: The percentage of the relation between total corrections and accepted