API для Snaghouse | Classic Deathmatch [AU]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285950677978117",
"domain": null,
"id": 11579453,
"ip": "202.171.181.63",
"port": 27020,
"query": 27020,
"color": 0,
"city": "Melbourne",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1779493969,
"last_online": 1779439848,
"icon": null,
"name": "Snaghouse | Classic Deathmatch [AU]",
"connect": "202.171.181.63:27020",
"request": "202.171.181.63:27020",
"map": "bounce",
"gamemode": "Half-Life",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779356976,
"last_update": 1779493969,
"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": 444,
"language": "en",
"parked": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11579453");
$data = json_decode($json, true);
var_dump($data);