API для Zonk Chill Server for everyone
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "w",
"region": 255,
"product": "tf",
"gametype": "ctf,increased_maxplayers,norespawntime,respawntimes",
"dedicated": true,
"steam_id": "90290608697236494",
"domain": null,
"id": 13614652,
"ip": "109.152.92.32",
"port": 27016,
"query": 27016,
"project_id": null,
"color": 0,
"city": "York",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1786461006,
"last_online": 1786458600,
"icon": null,
"name": "Zonk Chill Server for everyone",
"connect": "109.152.92.32:27016",
"request": "109.152.92.32:27016",
"map": "ctf_doublecross_snowy",
"gamemode": null,
"version": "10828683",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": null,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1786299846,
"last_update": 1786461006,
"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": 2560,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13614652");
$data = json_decode($json, true);
var_dump($data);