API для Warowny V Rising
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285863962083357",
"domain": null,
"id": 11543692,
"ip": "93.105.246.118",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Głogów",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780470425,
"last_online": 1781016180,
"icon": null,
"name": "Warowny V Rising",
"connect": "93.105.246.118:9876",
"request": "93.105.246.118:9877",
"map": "VRisingWorld",
"gamemode": "7fb8bb77-3b1d-4ec9-9f5d-cabe092652ca",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355505,
"last_update": 1781016180,
"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": 1870,
"language": "pl",
"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/11543692");
$data = json_decode($json, true);
var_dump($data);