API для ¨¨¨¨‡42‡¨¨¨¨•PL•¨¨¨¨•SƎR1ΔL ƎCH0•
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285975198098434",
"domain": null,
"id": 1183143,
"ip": "80.211.240.97",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Warsaw",
"description": "",
"game": 9000049,
"owner": null,
"boosts": 1,
"last_offline": 1777259004,
"last_online": 1779254426,
"icon": null,
"name": "¨¨¨¨‡42‡¨¨¨¨•PL•¨¨¨¨•SƎR1ΔL ƎCH0•",
"connect": "80.211.240.97:27015",
"request": "80.211.240.97:27015",
"map": "no_remorse",
"gamemode": "HLCCL",
"version": "1.1.2.2/Stdio",
"numplayers": 1,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1689241079,
"last_update": 1779254426,
"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": 9,
"language": "pl",
"parked": false,
"app": {
"id": 109,
"steam_id": 9000049,
"name": "Adrenaline Gamer",
"url": "adrenaline-gamer"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1183143");
$data = json_decode($json, true);
var_dump($data);