API для Fighting!!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90289880770284562",
"domain": null,
"id": 13007913,
"ip": "180.136.217.163",
"port": 27016,
"query": 27016,
"project_id": null,
"color": 0,
"city": "Liuzhou",
"description": null,
"game": 243750,
"owner": null,
"boosts": 1,
"last_offline": 1785398073,
"last_online": 1785397800,
"icon": null,
"name": "Fighting!!",
"connect": "180.136.217.163:27016",
"request": "180.136.217.163:27016",
"map": "festival",
"gamemode": null,
"version": "6660428",
"numplayers": 1,
"maxplayers": 32,
"bots": 15,
"secured": false,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1785398073,
"last_update": 1785397800,
"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": 21,
"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/13007913");
$data = json_decode($json, true);
var_dump($data);