API для 亗 FOGES © ²â�°Â¹â�¹ [Public]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "alltalk,bots,dedicated,gravity",
"os": "l",
"product": "hl2mp",
"region": 3,
"steam_id": "90288846668874776",
"domain": null,
"id": 12296311,
"ip": "94.23.68.241",
"port": 33893,
"query": 33893,
"project_id": null,
"color": 0,
"city": "Paris",
"description": null,
"game": 320,
"owner": null,
"boosts": 1,
"last_offline": 1784125958,
"last_online": 1784010759,
"icon": null,
"name": "亗 FOGES © ²�¹� [Public]",
"connect": "94.23.68.241:33893",
"request": "94.23.68.241:33893",
"map": "dm_overwatch",
"gamemode": null,
"version": "9540945",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": null,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1784005955,
"last_update": 1784125958,
"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": 707,
"language": "fr",
"parked": false,
"app": {
"id": 1,
"steam_id": 320,
"name": "Half-Life 2: Deathmatch",
"url": "half-life-2-deathmatch"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12296311");
$data = json_decode($json, true);
var_dump($data);