Documentation‎ > ‎

2. Account API

Usage

Returns current account activity.

URL

http://api.bizographics.com/v2/usage.format

Formats

json,xml

HTTP Method

GET

Parameters

  • api_key: Required.
  • callback: Optional. Only available for json format. If supplied the response will use the JSONP format with the callback of the given name.

Response

JSON

{ "usage": {
"lastUpdated": 1230768000302,
"period": "monthToDate",
"interval": "monthly",
"activity": {
"total": 1268,
"report": {
"201001": [ {"method": "profile", "format": "json", "count": 554},
{"method": "classify", "format": "xml", "count": 34} ]
}
}
}
}

XML

<usage>
<lastUpdated>1230768000302</lastUpdated>
<period>monthToDate</period>
<interval>monthly</period>
<activity>
<total>1268</total>
<report>
<breakdown date="201001">
<method>
<name>profile</name>
<format>json</format>
<count>554</count>
</method>
<method>
<name>classify</name>
<format>xml</format>
<count>34</count>
</method>
</breakdown>
</report>
</activity>
</usage>


Sign in  |  Recent Site Activity  |  Terms  |  Report Abuse  |  Print page  |  Powered by Google Sites