API для Paradise of War
JSON для программ, сайтов и прочего
text
json
{
"response": {
"type": 0,
"build": 149664,
"extraFlags": 1,
"statusFlags": 64,
"nameHeaderRaw": "008a24040303",
"unknownStatusFlags": 64,
"steam_id": null,
"domain": null,
"id": 16554174,
"ip": "104.243.39.28",
"port": 5660,
"query": 5660,
"project_id": null,
"color": 0,
"city": "Амстердам",
"description": null,
"game": 513710,
"boosts": 1,
"last_offline": 1789539127,
"last_online": 1789648235,
"icon": null,
"name": "Paradise of War",
"connect": "104.243.39.28:5660",
"request": "104.243.39.28:5660",
"map": null,
"gamemode": "community-direct",
"version": "1.3.3.4.149664",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1789539127,
"last_update": 1789648235,
"ban_reason": null,
"banned": false,
"hidden": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6479,
"language": "nl",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16554174");
$data = json_decode($json, true);
var_dump($data);