API для A BisectHosting Server - da675479
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286305888460804",
"domain": null,
"id": 11618503,
"ip": "185.236.137.196",
"port": 17777,
"query": 17778,
"color": 0,
"city": "Dallas",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1780551814,
"last_online": 1779940833,
"icon": null,
"name": "A BisectHosting Server - da675479",
"connect": "185.236.137.196:17777",
"request": "185.236.137.196:17778",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915947,
"last_update": 1780551814,
"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": 8495,
"language": "en",
"parked": false,
"app": {
"id": 1600891,
"steam_id": 1149460,
"name": "Icarus",
"url": "icarus"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11618503");
$data = json_decode($json, true);
var_dump($data);