API для LandSharkX's V Rising server by G-Portal.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286237314365467",
"domain": null,
"id": 11544361,
"ip": "144.126.153.169",
"port": 30900,
"query": 30915,
"color": 0,
"city": "St Louis",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779355523,
"last_online": 1780602092,
"icon": null,
"name": "LandSharkX's V Rising server by G-Portal.com",
"connect": "144.126.153.169:30900",
"request": "144.126.153.169:30915",
"map": "VRisingWorld",
"gamemode": "16d4b9a9-f3f9-49c0-850a-d4991740cd6c",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355523,
"last_update": 1780602092,
"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": 2442,
"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/11544361");
$data = json_decode($json, true);
var_dump($data);