API для Swiss PVE X2 [CH/DE] Events|Arena|Bots|Raidbasen|Teleport
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 10,
"fps_avg": 10,
"entities_count": 117762,
"world_seed": 1942,
"world_size": 4250,
"steam_id": "90286578734265365",
"domain": null,
"id": 1707361,
"ip": "144.76.237.126",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "![Swiss PVE X2 [CH/DE] Events|Arena|Bots|Raidbasen|Teleport](https://data.swissgameserver.ch/rust/img/swiss_pve_x2/swiss_pve_x2_server.png)\nSwiss PVE x2, Die Vanilla Welt mit erweiterten Stacks\r\n\r\n- 2x Ressourcen\r\n- 2x Tiere\r\n- 2x so schnell Schmelzen\r\n- 2x mal so schnell Craften\r\n- Bots an den Monumenten\r\n- Diverse Events\r\n- Raidbasen\r\n- Teleports",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779954222,
"last_online": 1780563027,
"icon": null,
"name": "Swiss PVE X2 [CH/DE] Events|Arena|Bots|Raidbasen|Teleport",
"connect": "144.76.237.126:28015",
"request": "144.76.237.126:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1699053835,
"last_update": 1780563027,
"banned": false,
"wipe": 1778176078,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2332,
"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/1707361");
$data = json_decode($json, true);
var_dump($data);