API для Van Son Rising
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286310270038026",
"domain": null,
"id": 11660553,
"ip": "194.233.70.121",
"port": 28500,
"query": 28515,
"color": 0,
"city": "Singapore",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780178465,
"last_online": 1780557062,
"icon": null,
"name": "Van Son Rising",
"connect": "194.233.70.121:28500",
"request": "194.233.70.121:28515",
"map": "VRisingWorld",
"gamemode": "30182517-7878-42df-a53d-205c1c7be887",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780178465,
"last_update": 1780557062,
"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": 3422,
"language": "en",
"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/11660553");
$data = json_decode($json, true);
var_dump($data);