API для !AAH!CLAN!Server (Survival)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285740119338011",
"domain": null,
"id": 11588386,
"ip": "2.243.33.185",
"port": 27202,
"query": 27203,
"color": 0,
"city": "Essen",
"description": null,
"game": 41070,
"owner": null,
"boosts": 1,
"last_offline": 1779387776,
"last_online": 1779363158,
"icon": null,
"name": "!AAH!CLAN!Server (Survival)",
"connect": "2.243.33.185:27202",
"request": "2.243.33.185:27203",
"map": "SV_Canyon",
"gamemode": "Serious Sam 3",
"version": "0.1.200.142",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357673,
"last_update": 1779387776,
"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": 10,
"language": "de",
"parked": false,
"app": {
"id": 52,
"steam_id": 41070,
"name": "Serious Sam 3: BFE",
"url": "serious-sam-3-bfe"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11588386");
$data = json_decode($json, true);
var_dump($data);