API для DK stromsholt | PvE | Vanilla
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 169,
"fps_avg": 164,
"entities_count": 90160,
"world_seed": 50000,
"world_size": 4000,
"steam_id": "90286409917057028",
"domain": null,
"id": 10870249,
"ip": "203.16.163.48",
"port": 22698,
"query": 22699,
"color": 0,
"city": "Frankfurt am Main",
"description": "100% PvE – NO PvP / NO Raiding\r\nTrue vanilla mechanics & NPC behaviour\r\nNo BetterNPC / No HumanNPC\r\nPerfect for base building & monument practice\r\nNear-official vanilla experience – without PvP stress\r\nChat: Danish / Scandinavian / English",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778608980,
"last_online": 1780599636,
"icon": null,
"name": "DK stromsholt | PvE | Vanilla",
"connect": "203.16.163.48:22698",
"request": "203.16.163.48:22699",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318402,
"last_update": 1780599636,
"banned": false,
"wipe": 1778279837,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3553,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10870249");
$data = json_decode($json, true);
var_dump($data);