Rust
API для [EU] Kings of Wasteland 10X |PVP|CLANS|MYMINI|LOOT++|MAX 6
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11259893json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 77253,
"world_seed": 1429258972,
"world_size": 3500,
"steam_id": 90284793774636050,
"domain": null,
"id": 11259893,
"ip": "87.229.127.197",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Sopron",
"description": "![[EU] Kings of Wasteland 10X |PVP|CLANS|MYMINI|LOOT++|MAX 6](https://i.imgur.com/6Q0zWly.jpeg)\n★WIPE: Weekly\r\n★MAP: 3000\r\n★Group limit: 6\r\n★PVP, Loot++, Events, Infinite workbench lvl. 3 (instant craft anywhere), Kits, Skinbox, Mymini, Teleport, Shop, Home, /outpost, clans, all BP unlocked, instant loot, one hit barrels, always perfect hit (ores and trees), legacy patrol helicopter",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776784999,
"score": 0,
"last_online": 1776832821,
"icon": null,
"name": "[EU] Kings of Wasteland 10X |PVP|CLANS|MYMINI|LOOT++|MAX 6",
"connect": "87.229.127.197:28015",
"request": "87.229.127.197:28017",
"map": "KOW FPS+",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "HU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555183,
"last_update": 1776832821,
"banned": false,
"wipe": 1775152687,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4785,
"language": "hu",
"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/11259893");
$data = json_decode($json, true);
var_dump($data);