JSON-RPC:Stats

The  JSON RPC calls can be used to fetch statistics.

= API Calls =

stats.get
Get some quick basic statistics. This is for example used by the admin panel for the 'Overview' page.

Request arguments
None

Response
Withing the result object the following fields are available that describe total counts network-wide (global): "server": { "total": 1, "ulined": 0 }, "user": { "total": 1, "ulined": 0, "oper": 1, "record": 510 }, "channel": { "total": 0 }, "server_ban": { "total": 27, "server_ban": 2, "spamfilter": 3, "name_ban": 18, "server_ban_exception": 4 }

The above fields should speak for themselves. One important thing to note is that users.oper does not include u-lines (so services bots with +o are not included in 'oper').

Example
Request: {"jsonrpc": "2.0", "method": "stats.get", "params": {}, "id": 123}