{"name": "IRC4Fun NetStats API", "base": "/network/data/", "endpoints": [{"method": "GET", "path": "/network/data/status/", "description": "Network snapshot + top users/channels today + recent history"}, {"method": "GET", "path": "/network/data/channel/<channel>/", "description": "Channel profile payload (overview, hourly lines, top users today)", "path_params": {"channel": "URL-encoded channel name, e.g. %23irc4fun"}}, {"method": "GET", "path": "/network/data/user/<nick>/", "description": "User profile payload (overview + hourly activity)", "path_params": {"nick": "IRC nick or services account key"}}, {"method": "GET", "path": "/network/data/countries/", "description": "Country distribution"}, {"method": "GET", "path": "/network/data/clients/", "description": "IRC client distribution"}, {"method": "GET", "path": "/network/data/history/", "description": "Recent network history points"}], "token_api": {"base": "/api/netstats/", "auth": "Authorization: Token <raw_token>", "endpoints": [{"method": "GET", "path": "/api/netstats/", "description": "NetStats API index (token)"}, {"method": "GET", "path": "/api/netstats/status/", "description": "Network snapshot + leaderboards + recent history (token)"}, {"method": "GET", "path": "/api/netstats/channel/<channel>/", "description": "Channel profile payload (token)"}, {"method": "GET", "path": "/api/netstats/user/<nick>/", "description": "User profile payload (token)"}, {"method": "GET", "path": "/api/netstats/countries/", "description": "Country distribution (token)"}, {"method": "GET", "path": "/api/netstats/clients/", "description": "IRC client distribution (token)"}, {"method": "GET", "path": "/api/netstats/history/", "description": "Recent network history points (token)"}, {"method": "GET", "path": "/api/netstats/operators/", "description": "IRC operators (token)"}, {"method": "GET", "path": "/api/netstats/servers/", "description": "Linked servers (token)"}]}, "docs": "/network/netstats/api/"}