2.4. Login with HTTP
Example of login with HTTP
Parameters of the request
&idctk is obtained from idctk parameter
&idcgameid unique game identifierobetained from idcgameid parameter
&idcuuid obtained from idcuuid parameter
Parameters of the answer
PARAMETER NAME | DESCRIPTION |
---|---|
result | Values: 0 (OK) or 1 (USER INVALID) |
userid | User identifier within the IDC Games platform |
usercrc | for security reasons we add a CRC that always will match the userid, it can be used to avoid man-in-the-middle securiy problems. |
language | 2 letters that indicate the language of the user (ISO 639-1) |
country | 2 letters that indicates the country code (ISO 3166-1) |
currency | 3 letters indicating the curreny that the user has used to buy in the platfotm (ISO-4217) |
Example of the request
Example of the answer
Request extra info about users in HTTP
Parameters of the request:
&userid
&apisecret with the following values: 0 (OK) or 1 (USER INVALID)
nick: user's nick
email: user's email address, of provided
avatar: URL to the user's avatar's image
status: conexion status of the user: online, offline, etc.
custom: custom user's status message
Last updated