API для loml 4
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "BUILDID:0,OWNINGID:90290163013993497,OWNINGNAME:loml 4,SESSIONFLAGS:683,P_s:_loml 4,G_s:3.0.21.155391-x-x",
"os": "w",
"product": "Icarus",
"region": -1,
"steam_id": "90290163013993497",
"domain": null,
"id": 13289117,
"ip": "180.191.165.228",
"port": 17780,
"query": 27018,
"project_id": null,
"color": 0,
"city": "Caloocan",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1785821761,
"last_online": 1785784800,
"icon": null,
"name": "loml 4",
"connect": "180.191.165.228:17780",
"request": "180.191.165.228:27018",
"map": null,
"gamemode": null,
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": null,
"country": "PH",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1785782686,
"last_update": 1785821761,
"ban_reason": null,
"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": 8358,
"language": "tl",
"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/13289117");
$data = json_decode($json, true);
var_dump($data);