API: Getting user account information

URL /api.php/account/info
Required scope profile
Optional additional scope email
HTTP Method GET/POST
Output format JSON

Sample output:

 1{
 2     "id": "123",
 3     "activated":"1",
 4     "username": "john",
 5     "name": "John",
 6     "name2": "Doe",
 7     "email": "johndoe@email.com"
 8}