Home > Aria6 User Documentation > Aria6 core api > get_country_from_ip

get_country_from_ip

Returns the county of origin for a specified IP address.

Input Arguments

Req Field Name Field Type Max Length Description
required-icon.png client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
required-icon.png auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
  ip_address string 16 IP address of the account holder, derived from their current session.
 

Output Arguments

Field Name Field Type Description
country_code string Phone number dialing prefix indicating the country to dial.
country_name string Country name returned from a search using the provided IP address.
error_code long Aria-assigned error identifier. 0 indicates no error.
error_msg string Description of any error that occurred. "OK" if there was no error.
 
 
 
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.