API для [RU/EU] [Cloud] [PvE|Hard|TP|Stack x2|No Wipe]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286653175735312",
"domain": null,
"id": 11660335,
"ip": "85.233.150.44",
"port": 35055,
"query": 35056,
"project_id": null,
"color": 0,
"city": "Kurgan",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780789330,
"icon": null,
"name": "[RU/EU] [Cloud] [PvE|Hard|TP|Stack x2|No Wipe]",
"connect": "85.233.150.44:35055",
"request": "85.233.150.44:35056",
"map": "VRisingWorld",
"gamemode": "b1fef329-975d-4d1d-b24d-bf9aa282829d",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780178455,
"last_update": 1780789330,
"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": 3201,
"language": "ru",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11660335");
$data = json_decode($json, true);
var_dump($data);