API для [X] - [BaseBuilder 5.4 Mod] > FastDL < - > Since 2014 <
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11616022,
"ip": "194.58.66.42",
"port": 10820,
"query": 10820,
"project_id": null,
"color": 0,
"city": "Ljubljana",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1780741416,
"last_online": 1780053723,
"icon": null,
"name": "[X] - [BaseBuilder 5.4 Mod] > FastDL < - > Since 2014 <",
"connect": "194.58.66.42:10820",
"request": "194.58.66.42:10820",
"map": "bb_revenge_dust",
"gamemode": "Base Builder 5.4",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 21,
"bots": 0,
"secured": true,
"private": false,
"country": "SI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915849,
"last_update": 1780741416,
"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": 9893,
"language": "sl",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11616022");
$data = json_decode($json, true);
var_dump($data);