ATLAS
API для B4 Public - (v560.3)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/811906json
{
"response": {
"steam_id": "90284818424722463",
"domain": null,
"id": 811906,
"ip": "204.17.48.107",
"port": 7016,
"query": 29016,
"color": 0,
"city": "Amado",
"description": "",
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1777570351,
"score": null,
"last_online": 1776897664,
"icon": null,
"name": "B4 Public - (v560.3)",
"connect": "204.17.48.107:7016",
"request": "204.17.48.107:29016",
"map": "Ocean_Evolved",
"gamemode": "TestGameMode_Evolved_Core_C",
"version": "560.3",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1684357554,
"last_update": 1777570351,
"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": 997,
"language": "en",
"parked": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/811906");
$data = json_decode($json, true);
var_dump($data);