Say you're interested in how a user's been using the platform. In particular, their success rate, queue times, bandwidth specs, etc. Use GetASM to return this info. Here's an example of the XML to send to the API
<?xml version="1.0"?> <query> <userid>[UserID]</userid> <userkey>[UserKey]</userkey> <action>GetASM</action> <action_user_id>[ActionUserID]</action_user_id> </query>
and the response:
<?xml version="1.0"?> <response> <action>getasm</action> <status>Success</status> <result> <user_id>[UserID]</user_id> <encoding_success_rate> <percentage>100</percentage> </encoding_success_rate> <queue_time> <second>[average queue time in this month]</second> </queue_time> <processing_time> <second>[average processing time in this month]</second> </processing_time> <connection_speed> <kbs>[average connection speed]</kbs> </connection_speed> <encoding_bandwidth> <gb>[average amount of encoding bandwidth]</gb> </encoding_bandwidth> </result> </response>