Information on a user’s IP

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/infoip

HTTP Method: GET

The following is a description of the parameters request:

 *if the optional fields are blank, do not participate in forming the signature

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
ip - User IP
country_iso_code - ISO 3166 country code
country_name - Localized country name
region_code - Region code
language - Lanaguage name (ru/en etc.)

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "ip": "string",
    "country_iso_code": "string",
    "country_name": "string",
    "region_code": "string",
    "language": "string"
}

The following is an example response Xml body:

<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <error>
    <code>0</code>
    <message>string</message>
  </error>
  <ip>string</ip>
  <country_iso_code>string</country_iso_code>
  <country_name>string</country_name>
  <region_code>string</region_code>
  <language>string</language>
</result>