igGameCenter API Developer Guide >> Checking the usage of the Application

An external application can check its usage statistics by sending POST request to the following API script:

http://www.iggamecenter.com/api_check_usage.php
containing the following parameters:
Field Name Field Content Field Format
app_id Application unique ID mandatory, numeric
app_code Application secret passcode mandatory, alpha-numeric
uid Member's ID optional, numeric
networkuid

A unique ID associated with the physical device / site / social network.

optional, alpha-numeric + dashes + underscores, max 64 symbols

If networkuid and uid are not specified then the total usage statistics for all the users of the application is returned. If either networkuid or uid (or both) are specified then only the usage statistics for the specified member / device is returned.

The returned response will be one of the following:

Failure response:

<errorMessage>--Some error message--</errorMessage>

Success response:

<appUsage uid="0" networkuid="xxxx-xxx-xxxxxx">
<numUsers>3
</numUsers>
<numLogins>43</numLogins>
<numGames>13</numGames>
</appUsage>

where

Field Name Field Content
appUsage The main container including the usage statistics for the application.
uid the uid that was sent with the request
networkuid the networkuid that was sent with the request
numUsers the total number of registered users who have used the application (filtered by networkuid and uid parameters)
numLogins the total number of authorizations performed by the users of the application (filtered by networkuid and uid parameters)
numGames the total number of games played by the users of the application (filtered by networkuid and uid parameters)