Arma 3
API для CodeFourGaming - King of the Hill US#5 - RHS Vehicle
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/959360json
{
"response": {
"steam_id": "90284571535849499",
"domain": null,
"id": 959360,
"ip": "51.79.37.206",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Beauharnois",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1769591488,
"score": null,
"last_online": 1776456015,
"icon": null,
"name": "CodeFourGaming - King of the Hill US#5 - RHS Vehicle",
"connect": "51.79.37.206:2302",
"request": "51.79.37.206:2303",
"map": "Altis",
"gamemode": "King of the Hill RHS by Sa-Matra (v17)",
"version": "2.20.153495",
"numplayers": 97,
"maxplayers": 115,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1684833281,
"last_update": 1776456015,
"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": 12,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/959360");
$data = json_decode($json, true);
var_dump($data);