API для A BisectHosting Server - f6d525ef
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286619401728028",
"domain": null,
"id": 11625586,
"ip": "216.225.145.46",
"port": 9095,
"query": 9096,
"color": 0,
"city": "Dallas",
"description": null,
"game": 427410,
"owner": null,
"boosts": 1,
"last_offline": 1779916208,
"last_online": 1780667502,
"icon": null,
"name": "A BisectHosting Server - f6d525ef",
"connect": "216.225.145.46:9095",
"request": "216.225.145.46:9096",
"map": null,
"gamemode": "Abiotic Factor",
"version": "1.0.0.6",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916208,
"last_update": 1780667502,
"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": 2041,
"language": "en",
"parked": false,
"app": {
"id": 1611062,
"steam_id": 427410,
"name": "Abiotic Factor",
"url": "abiotic-factor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11625586");
$data = json_decode($json, true);
var_dump($data);