API для 90288802245437460
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "BUILDID:0,OWNINGID:90288802245437460,OWNINGNAME:90288802245437460,SESSIONFLAGS:552,MATCHTIMEOUT_f:120.000000,GameMode_s:SG",
"os": "l",
"product": "MOE",
"region": -1,
"steam_id": "90288802245437460",
"domain": null,
"id": 12282114,
"ip": "43.132.255.181",
"port": 8003,
"query": 25103,
"project_id": null,
"color": 0,
"city": "Hong Kong",
"description": null,
"game": 1371580,
"owner": null,
"boosts": 1,
"last_offline": 1784125966,
"last_online": 1783956785,
"icon": null,
"name": "90288802245437460",
"connect": "43.132.255.181:8003",
"request": "43.132.255.181:25103",
"map": "Battlefield_Main_New",
"gamemode": null,
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": true,
"private": null,
"country": "HK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1783945995,
"last_update": 1784125966,
"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": 291,
"language": "zh",
"parked": false,
"app": {
"id": 1625868,
"steam_id": 1371580,
"name": "Myth of Empires",
"url": "myth-of-empires"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12282114");
$data = json_decode($json, true);
var_dump($data);