This will fetch the account information for the user accessing the API like username, first and last name, email, account credit, and location information.
Request URL
https://api.nodehost.ca/get_account_info
Parameters
None
More info
None
Response
{
"data": {
"id": "1232",
"username": "apiuser",
"first_name": "API",
"last_name": "User",
"email": "support@nodehost.ca",
"email_alerts": "0",
"email_recepts": "false",
"email_updates": "0",
"register_date": "1538862744",
"type": "normal",
"verified": "false",
"referral": "0",
"parent": "0",
"credit": "56",
"credit_referral": "0",
"country": "Canada",
"state": "British Columbia"
},
"system_connection": "true",
"system_version": "v_55_65418c9",
"system_user_id": "1232",
"system_user_username": "apiuser"
}