API для Fighting!!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90289871000486930",
"domain": null,
"id": 13003078,
"ip": "117.151.33.133",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Wuhan",
"description": null,
"game": 243750,
"owner": null,
"boosts": 1,
"last_offline": 1785389070,
"last_online": 1785388800,
"icon": null,
"name": "Fighting!!",
"connect": "117.151.33.133:27015",
"request": "117.151.33.133:27015",
"map": "zs_trace_lg_csgo",
"gamemode": null,
"version": "6660428",
"numplayers": 1,
"maxplayers": 32,
"bots": 30,
"secured": false,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1785389070,
"last_update": 1785388800,
"ban_reason": null,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 15,
"language": "zh",
"parked": false,
"app": {
"id": 159,
"steam_id": 243750,
"name": "Source SDK Base 2013 Multiplayer",
"url": "source-sdk-base-2013-multiplayer"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13003078");
$data = json_decode($json, true);
var_dump($data);