Earth's Special Forces
API для ESF 1.2.3 US (Chicago)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/549128json
{
"response": {
"steam_id": "90280498273890304",
"domain": null,
"id": 549128,
"ip": "209.182.219.16",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Chicago",
"description": "",
"game": 9000053,
"owner": null,
"boosts": 1,
"last_offline": 1745350623,
"score": null,
"last_online": 1776236430,
"icon": null,
"name": "ESF 1.2.3 US (Chicago)",
"connect": "209.182.219.16:27015",
"request": "209.182.219.16:27015",
"map": "esf_cell_games_night",
"gamemode": "ESF Teamplay",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1650905413,
"last_update": 1776236430,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 1665379,
"steam_id": 9000053,
"name": "Earth's Special Forces",
"url": "earths-special-forces"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/549128");
$data = json_decode($json, true);
var_dump($data);