API для Wake and Bake
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286368447897631",
"domain": null,
"id": 11666193,
"ip": "181.43.195.25",
"port": 7707,
"query": 28852,
"color": 0,
"city": "Santiago",
"description": null,
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1780603412,
"last_online": 1780183363,
"icon": null,
"name": "Wake and Bake",
"connect": "181.43.195.25:7707",
"request": "181.43.195.25:28852",
"map": "KF-CrackHouse",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "CL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780179229,
"last_update": 1780603412,
"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": 455,
"language": "es",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11666193");
$data = json_decode($json, true);
var_dump($data);