API для 90288803039661056
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "BUILDID:0,OWNINGID:90288803039661056,OWNINGNAME:90288803039661056,SESSIONFLAGS:715,GameMode_s:PVP,BeaconPort_i:27049",
"os": "w",
"product": "ProjectWar",
"region": -1,
"steam_id": "90288803039661056",
"domain": null,
"id": 12288287,
"ip": "86.104.249.167",
"port": 27047,
"query": 27048,
"project_id": null,
"color": 0,
"city": "Zurich",
"description": null,
"game": 2285150,
"owner": null,
"boosts": 1,
"last_offline": 1784188968,
"last_online": 1783969404,
"icon": null,
"name": "90288803039661056",
"connect": "86.104.249.167:27047",
"request": "86.104.249.167:27048",
"map": "CooolMap",
"gamemode": null,
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": null,
"country": "CH",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1783968204,
"last_update": 1784188968,
"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": 84,
"language": "de",
"parked": false,
"app": {
"id": 1617669,
"steam_id": 2285150,
"name": "The Front",
"url": "the-front"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12288287");
$data = json_decode($json, true);
var_dump($data);